#DC0CAA

#dc0caa ≈ Shocking Pink

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

#dc0caa is a color from the magenta family, with medium lightness and vivid saturation. In the RGB model it is made of 86.27% red, 4.71% green and 66.67% blue; printed in CMYK it uses 0% cyan, 94.55% magenta, 22.73% yellow and 13.73% black. Its hue angle is 314.42°, with 89.66% saturation and 45.49% 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.68:1 (WCAG AA). The closest named color is Shocking Pink (#fc0fc0), ΔE 6.97.

Description generated from the measured properties of this color.

Conversions of #dc0caa 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.1838

Readable text 4.49:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕
Readable text 4.68:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓

Achromatopsia #777777 ≈ 0.003% of males
Achromatomaly #a95e8e ≈ 0.001% of males
Protanopia #3163ad ≈ 1.01% of males
Deuteranopia #7482a6 ≈ 1.27% of males
Tritanopia #ea1364 ≈ 0.0001% of males
Protanomaly #964eac ≈ 1.08% of males
Deuteranomaly #a867a8 ≈ 4.63% of males
Tritanomaly #e51186 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-dc0caa {
  color: #dc0caa;
}
Background
.bg-dc0caa {
  background-color: #dc0caa;
  color: #000000;
}
Border
.border-dc0caa {
  border: 2px solid #dc0caa;
}
CSS variables
:root {
  --color-primary: #dc0caa;
  --color-primary-rgb: 220 12 170;
  --color-primary-hsl: 314 90% 45%;
}
Gradient
.gradient-dc0caa {
  background: linear-gradient(135deg, #dc0caa, #dc0c42);
}
Colored shadow
.shadow-dc0caa {
  box-shadow: 0 8px 24px rgb(220 12 170 / 0.35);
}

Shocking Pink
#dc0caa  rgb(220, 12, 170)  hsl(314, 90%, 45%)  Shocking Pink
#0cdc3e  rgb(12, 220, 62)  hsl(134, 90%, 45%)  Malachite
#aadc0c  rgb(170, 220, 12)  hsl(74, 90%, 45%)  Yellow Green
#0caadc  rgb(12, 170, 220)  hsl(194, 90%, 45%)  Carolina Blue