#DC0CB3

#dc0cb3 ≈ Shocking Pink

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

#dc0cb3 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 70.2% blue; printed in CMYK it uses 0% cyan, 94.55% magenta, 18.64% yellow and 13.73% black. Its hue angle is 311.83°, 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.75:1 (WCAG AA). The closest named color is Shocking Pink (#fc0fc0), ΔE 6.69.

Description generated from the measured properties of this color.

Conversions of #dc0cb3 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.1873

Readable text 4.42:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕
Readable text 4.75:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓

Achromatopsia #787878 ≈ 0.003% of males
Achromatomaly #a95f93 ≈ 0.001% of males
Protanopia #2765b7 ≈ 1.01% of males
Deuteranopia #7082af ≈ 1.27% of males
Tritanopia #e91f6a ≈ 0.0001% of males
Protanomaly #9550b5 ≈ 1.08% of males
Deuteranomaly #a767b1 ≈ 4.63% of males
Tritanomaly #e4198d ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

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

Shocking Pink
#dc0cb3  rgb(220, 12, 179)  hsl(312, 90%, 45%)  Shocking Pink
#0cdc35  rgb(12, 220, 53)  hsl(132, 90%, 45%)  Malachite
#b3dc0c  rgb(179, 220, 12)  hsl(72, 90%, 45%)  Pear
#0cb3dc  rgb(12, 179, 220)  hsl(192, 90%, 45%)  Deep Sky Blue