#DC12CD

#dc12cd ≈ Shocking Pink

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

#dc12cd is a color from the magenta family, with medium lightness and vivid saturation. In the RGB model it is made of 86.27% red, 7.06% green and 80.39% blue; printed in CMYK it uses 0% cyan, 91.82% magenta, 6.82% yellow and 13.73% black. Its hue angle is 304.46°, with 84.87% saturation and 46.67% 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.01:1 (WCAG AA). The closest named color is Shocking Pink (#fc0fc0), ΔE 7.3.

Description generated from the measured properties of this color.

Conversions of #dc12cd 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.2006

Readable text 4.19:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕
Readable text 5.01:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓

Achromatopsia #7c7c7c ≈ 0.003% of males
Achromatomaly #ab62a3 ≈ 0.001% of males
Protanopia #006bd1 ≈ 1.01% of males
Deuteranopia #6585c9 ≈ 1.27% of males
Tritanopia #e6387a ≈ 0.0001% of males
Protanomaly #9055d0 ≈ 1.08% of males
Deuteranomaly #a269cb ≈ 4.63% of males
Tritanomaly #e22da2 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

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

Shocking Pink
#dc12cd  rgb(220, 18, 205)  hsl(304, 85%, 47%)  Shocking Pink
#12dc21  rgb(18, 220, 33)  hsl(124, 85%, 47%)  Lime Green
#cddc12  rgb(205, 220, 18)  hsl(64, 85%, 47%)  Pear
#12cddc  rgb(18, 205, 220)  hsl(184, 85%, 47%)  Dark Turquoise