#DC0DCB

#dc0dcb ≈ Shocking Pink

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

#dc0dcb is a color from the magenta family, with medium lightness and vivid saturation. In the RGB model it is made of 86.27% red, 5.1% green and 79.61% blue; printed in CMYK it uses 0% cyan, 94.09% magenta, 7.73% yellow and 13.73% black. Its hue angle is 304.93°, with 88.84% saturation and 45.69% 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.96:1 (WCAG AA). The closest named color is Shocking Pink (#fc0fc0), ΔE 7.29.

Description generated from the measured properties of this color.

Conversions of #dc0dcb 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.1982

Readable text 4.23:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕
Readable text 4.96:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓

Achromatopsia #7b7b7b ≈ 0.003% of males
Achromatomaly #ab61a1 ≈ 0.001% of males
Protanopia #006acf ≈ 1.01% of males
Deuteranopia #6584c7 ≈ 1.27% of males
Tritanopia #e63578 ≈ 0.0001% of males
Protanomaly #9054ce ≈ 1.08% of males
Deuteranomaly #a369c9 ≈ 4.63% of males
Tritanomaly #e22aa0 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-dc0dcb {
  color: #dc0dcb;
}
Background
.bg-dc0dcb {
  background-color: #dc0dcb;
  color: #000000;
}
Border
.border-dc0dcb {
  border: 2px solid #dc0dcb;
}
CSS variables
:root {
  --color-primary: #dc0dcb;
  --color-primary-rgb: 220 13 203;
  --color-primary-hsl: 305 89% 46%;
}
Gradient
.gradient-dc0dcb {
  background: linear-gradient(135deg, #dc0dcb, #dc0d63);
}
Colored shadow
.shadow-dc0dcb {
  box-shadow: 0 8px 24px rgb(220 13 203 / 0.35);
}

Shocking Pink
#dc0dcb  rgb(220, 13, 203)  hsl(305, 89%, 46%)  Shocking Pink
#0ddc1e  rgb(13, 220, 30)  hsl(125, 89%, 46%)  Lime Green
#cbdc0d  rgb(203, 220, 13)  hsl(65, 89%, 46%)  Pear
#0dcbdc  rgb(13, 203, 220)  hsl(185, 89%, 46%)  Dark Turquoise