#DF0CB2

#df0cb2 ≈ Shocking Pink

  • magenta
  • Lightness: medium
  • Saturation: vivid
  • Balanced

#df0cb2 is a color from the magenta family, with medium lightness and vivid saturation. In the RGB model it is made of 87.45% red, 4.71% green and 69.8% blue; printed in CMYK it uses 0% cyan, 94.62% magenta, 20.18% yellow and 12.55% black. Its hue angle is 312.8°, with 89.79% saturation and 46.08% 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 call-to-action buttons. Black text on this color reaches a contrast ratio of 4.83:1 (WCAG AA). The closest named color is Shocking Pink (#fc0fc0), ΔE 6.08.

Description generated from the measured properties of this color.

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

Readable text 4.35:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕
Readable text 4.83:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓

Achromatopsia #797979 ≈ 0.003% of males
Achromatomaly #ac6093 ≈ 0.001% of males
Protanopia #2c66b6 ≈ 1.01% of males
Deuteranopia #7384ae ≈ 1.27% of males
Tritanopia #ed1b69 ≈ 0.0001% of males
Protanomaly #9750b4 ≈ 1.08% of males
Deuteranomaly #a968b0 ≈ 4.63% of males
Tritanomaly #e8168c ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-df0cb2 {
  color: #df0cb2;
}
Background
.bg-df0cb2 {
  background-color: #df0cb2;
  color: #000000;
}
Border
.border-df0cb2 {
  border: 2px solid #df0cb2;
}
CSS variables
:root {
  --color-primary: #df0cb2;
  --color-primary-rgb: 223 12 178;
  --color-primary-hsl: 313 90% 46%;
}
Gradient
.gradient-df0cb2 {
  background: linear-gradient(135deg, #df0cb2, #df0c48);
}
Colored shadow
.shadow-df0cb2 {
  box-shadow: 0 8px 24px rgb(223 12 178 / 0.35);
}

Shocking Pink
#df0cb2  rgb(223, 12, 178)  hsl(313, 90%, 46%)  Shocking Pink
#0cdf39  rgb(12, 223, 57)  hsl(133, 90%, 46%)  Malachite
#b2df0c  rgb(178, 223, 12)  hsl(73, 90%, 46%)  June Bud
#0cb2df  rgb(12, 178, 223)  hsl(193, 90%, 46%)  Deep Sky Blue