#DF07CB

#df07cb ≈ Shocking Pink

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

#df07cb is a color from the magenta family, with medium lightness and vivid saturation. In the RGB model it is made of 87.45% red, 2.75% green and 79.61% blue; printed in CMYK it uses 0% cyan, 96.86% magenta, 8.97% yellow and 12.55% black. Its hue angle is 305.56°, with 93.91% saturation and 45.1% 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 5.03:1 (WCAG AA). The closest named color is Shocking Pink (#fc0fc0), ΔE 6.79.

Description generated from the measured properties of this color.

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

Readable text 4.17:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕
Readable text 5.03:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓

Achromatopsia #7c7c7c ≈ 0.003% of males
Achromatomaly #ad62a2 ≈ 0.001% of males
Protanopia #006acf ≈ 1.01% of males
Deuteranopia #6785c7 ≈ 1.27% of males
Tritanopia #ea3278 ≈ 0.0001% of males
Protanomaly #9354ce ≈ 1.08% of males
Deuteranomaly #a56ac9 ≈ 4.63% of males
Tritanomaly #e527a0 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-df07cb {
  color: #df07cb;
}
Background
.bg-df07cb {
  background-color: #df07cb;
  color: #000000;
}
Border
.border-df07cb {
  border: 2px solid #df07cb;
}
CSS variables
:root {
  --color-primary: #df07cb;
  --color-primary-rgb: 223 7 203;
  --color-primary-hsl: 306 94% 45%;
}
Gradient
.gradient-df07cb {
  background: linear-gradient(135deg, #df07cb, #df075f);
}
Colored shadow
.shadow-df07cb {
  box-shadow: 0 8px 24px rgb(223 7 203 / 0.35);
}

Shocking Pink
#df07cb  rgb(223, 7, 203)  hsl(306, 94%, 45%)  Shocking Pink
#07df1b  rgb(7, 223, 27)  hsl(126, 94%, 45%)  Lime Green
#cbdf07  rgb(203, 223, 7)  hsl(66, 94%, 45%)  Pear
#07cbdf  rgb(7, 203, 223)  hsl(186, 94%, 45%)  Dark Turquoise