#DC0AB2

#dc0ab2 ≈ Shocking Pink

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

#dc0ab2 is a color from the magenta family, with medium lightness and vivid saturation. In the RGB model it is made of 86.27% red, 3.92% green and 69.8% blue; printed in CMYK it uses 0% cyan, 95.45% magenta, 19.09% yellow and 13.73% black. Its hue angle is 312°, with 91.3% 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 4.73:1 (WCAG AA). The closest named color is Shocking Pink (#fc0fc0), ΔE 6.76.

Description generated from the measured properties of this color.

Conversions of #dc0ab2 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.1865

Readable text 4.44:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕
Readable text 4.73:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓

Achromatopsia #787878 ≈ 0.003% of males
Achromatomaly #a95e93 ≈ 0.001% of males
Protanopia #2864b6 ≈ 1.01% of males
Deuteranopia #7182ae ≈ 1.27% of males
Tritanopia #e91d69 ≈ 0.0001% of males
Protanomaly #954fb4 ≈ 1.08% of males
Deuteranomaly #a767b0 ≈ 4.63% of males
Tritanomaly #e4178c ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-dc0ab2 {
  color: #dc0ab2;
}
Background
.bg-dc0ab2 {
  background-color: #dc0ab2;
  color: #000000;
}
Border
.border-dc0ab2 {
  border: 2px solid #dc0ab2;
}
CSS variables
:root {
  --color-primary: #dc0ab2;
  --color-primary-rgb: 220 10 178;
  --color-primary-hsl: 312 91% 45%;
}
Gradient
.gradient-dc0ab2 {
  background: linear-gradient(135deg, #dc0ab2, #dc0a49);
}
Colored shadow
.shadow-dc0ab2 {
  box-shadow: 0 8px 24px rgb(220 10 178 / 0.35);
}

Shocking Pink
#dc0ab2  rgb(220, 10, 178)  hsl(312, 91%, 45%)  Shocking Pink
#0adc34  rgb(10, 220, 52)  hsl(132, 91%, 45%)  Malachite
#b2dc0a  rgb(178, 220, 10)  hsl(72, 91%, 45%)  June Bud
#0ab2dc  rgb(10, 178, 220)  hsl(192, 91%, 45%)  Deep Sky Blue