#DF0CB1

#df0cb1 ≈ Shocking Pink

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

#df0cb1 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.41% blue; printed in CMYK it uses 0% cyan, 94.62% magenta, 20.63% yellow and 12.55% black. Its hue angle is 313.08°, 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.1.

Description generated from the measured properties of this color.

Conversions of #df0cb1 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.1913

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 #2d65b5 ≈ 1.01% of males
Deuteranopia #7484ad ≈ 1.27% of males
Tritanopia #ed1a68 ≈ 0.0001% of males
Protanomaly #9750b3 ≈ 1.08% of males
Deuteranomaly #aa68af ≈ 4.63% of males
Tritanomaly #e8158b ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

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

Shocking Pink
#df0cb1  rgb(223, 12, 177)  hsl(313, 90%, 46%)  Shocking Pink
#0cdf3a  rgb(12, 223, 58)  hsl(133, 90%, 46%)  Malachite
#b1df0c  rgb(177, 223, 12)  hsl(73, 90%, 46%)  June Bud
#0cb1df  rgb(12, 177, 223)  hsl(193, 90%, 46%)  Deep Sky Blue