#DC0CCC

#dc0ccc ≈ Shocking Pink

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

#dc0ccc 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 80% blue; printed in CMYK it uses 0% cyan, 94.55% magenta, 7.27% yellow and 13.73% black. Its hue angle is 304.62°, 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.97:1 (WCAG AA). The closest named color is Shocking Pink (#fc0fc0), ΔE 7.37.

Description generated from the measured properties of this color.

Conversions of #dc0ccc 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.1984

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

Achromatopsia #7b7b7b ≈ 0.003% of males
Achromatomaly #ab61a2 ≈ 0.001% of males
Protanopia #006ad0 ≈ 1.01% of males
Deuteranopia #6484c8 ≈ 1.27% of males
Tritanopia #e63678 ≈ 0.0001% of males
Protanomaly #9054cf ≈ 1.08% of males
Deuteranomaly #a269ca ≈ 4.63% of males
Tritanomaly #e22aa1 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

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

Shocking Pink
#dc0ccc  rgb(220, 12, 204)  hsl(305, 90%, 45%)  Shocking Pink
#0cdc1c  rgb(12, 220, 28)  hsl(125, 90%, 45%)  Lime Green
#ccdc0c  rgb(204, 220, 12)  hsl(65, 90%, 45%)  Pear
#0cccdc  rgb(12, 204, 220)  hsl(185, 90%, 45%)  Dark Turquoise