#D840BF

#d840bf ≈ Shocking Pink

  • magenta
  • Lightness: medium
  • Saturation: strong
  • Balanced

#d840bf is a color from the magenta family, with medium lightness and strong saturation. In the RGB model it is made of 84.71% red, 25.1% green and 74.9% blue; printed in CMYK it uses 0% cyan, 70.37% magenta, 11.57% yellow and 15.29% black. Its hue angle is 309.87°, with 66.09% saturation and 54.9% lightness in HSL. It sits between warm and cool, and is often associated with creativity, boldness and individuality. Designers typically use it for beauty and cosmetics, creative studios and brand accents. Black text on this color reaches a contrast ratio of 5.41:1 (WCAG AA). The closest named color is Shocking Pink (#fc0fc0), ΔE 5.52.

Description generated from the measured properties of this color.

Conversions of #d840bf into other color spaces
HEX
RGB
RGB percent
CMY
CMYK
HSL
HSV / HSB
Web safe#cc33cc
CIE-LAB
XYZ
xyY
CIE-LCH
CIE-LUV
Hunter-Lab
OKLab
Binary
Decimal
Relative luminance0.2203

Readable text 3.88:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕
Readable text 5.41:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓

Achromatopsia #818181 ≈ 0.003% of males
Achromatomaly #ab6d9e ≈ 0.001% of males
Protanopia #4073c3 ≈ 1.01% of males
Deuteranopia #7589bb ≈ 1.27% of males
Tritanopia #e34b7b ≈ 0.0001% of males
Protanomaly #9662c1 ≈ 1.08% of males
Deuteranomaly #a673bd ≈ 4.63% of males
Tritanomaly #de479b ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-d840bf {
  color: #d840bf;
}
Background
.bg-d840bf {
  background-color: #d840bf;
  color: #000000;
}
Border
.border-d840bf {
  border: 2px solid #d840bf;
}
CSS variables
:root {
  --color-primary: #d840bf;
  --color-primary-rgb: 216 64 191;
  --color-primary-hsl: 310 66% 55%;
}
Gradient
.gradient-d840bf {
  background: linear-gradient(135deg, #d840bf, #d84073);
}
Colored shadow
.shadow-d840bf {
  box-shadow: 0 8px 24px rgb(216 64 191 / 0.35);
}

Shocking Pink
#d840bf  rgb(216, 64, 191)  hsl(310, 66%, 55%)  Shocking Pink
#40d859  rgb(64, 216, 89)  hsl(130, 66%, 55%)  Malachite
#bfd840  rgb(191, 216, 64)  hsl(70, 66%, 55%)  June Bud
#40bfd8  rgb(64, 191, 216)  hsl(190, 66%, 55%)  Sky Blue