#DC0CAB

#dc0cab ≈ Shocking Pink

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

#dc0cab 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 67.06% blue; printed in CMYK it uses 0% cyan, 94.55% magenta, 22.27% yellow and 13.73% black. Its hue angle is 314.13°, 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.93.

Description generated from the measured properties of this color.

Conversions of #dc0cab 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.1842

Readable text 4.48: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 #a95e8f ≈ 0.001% of males
Protanopia #3063ae ≈ 1.01% of males
Deuteranopia #7482a7 ≈ 1.27% of males
Tritanopia #ea1565 ≈ 0.0001% of males
Protanomaly #964ead ≈ 1.08% of males
Deuteranomaly #a867a9 ≈ 4.63% of males
Tritanomaly #e51287 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

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

Shocking Pink
#dc0cab  rgb(220, 12, 171)  hsl(314, 90%, 45%)  Shocking Pink
#0cdc3d  rgb(12, 220, 61)  hsl(134, 90%, 45%)  Malachite
#abdc0c  rgb(171, 220, 12)  hsl(74, 90%, 45%)  Yellow Green
#0cabdc  rgb(12, 171, 220)  hsl(194, 90%, 45%)  Deep Sky Blue