#DF12C2

#df12c2 ≈ Shocking Pink

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

#df12c2 is a color from the magenta family, with medium lightness and vivid saturation. In the RGB model it is made of 87.45% red, 7.06% green and 76.08% blue; printed in CMYK it uses 0% cyan, 91.93% magenta, 13% yellow and 12.55% black. Its hue angle is 308.49°, with 85.06% saturation and 47.25% 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: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 #df12c2 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.2002

Readable text 4.2:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕
Readable text 5:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓

Achromatopsia #7c7c7c ≈ 0.003% of males
Achromatomaly #ad629d ≈ 0.001% of males
Protanopia #166ac6 ≈ 1.01% of males
Deuteranopia #6d85be ≈ 1.27% of males
Tritanopia #eb2e73 ≈ 0.0001% of males
Protanomaly #9554c4 ≈ 1.08% of males
Deuteranomaly #a76ac0 ≈ 4.63% of males
Tritanomaly #e62599 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-df12c2 {
  color: #df12c2;
}
Background
.bg-df12c2 {
  background-color: #df12c2;
  color: #000000;
}
Border
.border-df12c2 {
  border: 2px solid #df12c2;
}
CSS variables
:root {
  --color-primary: #df12c2;
  --color-primary-rgb: 223 18 194;
  --color-primary-hsl: 308 85% 47%;
}
Gradient
.gradient-df12c2 {
  background: linear-gradient(135deg, #df12c2, #df125b);
}
Colored shadow
.shadow-df12c2 {
  box-shadow: 0 8px 24px rgb(223 18 194 / 0.35);
}

Shocking Pink
#df12c2  rgb(223, 18, 194)  hsl(308, 85%, 47%)  Shocking Pink
#12df2f  rgb(18, 223, 47)  hsl(128, 85%, 47%)  Malachite
#c2df12  rgb(194, 223, 18)  hsl(68, 85%, 47%)  Pear
#12c2df  rgb(18, 194, 223)  hsl(188, 85%, 47%)  Sky Blue