#EC42CB

#ec42cb ≈ Shocking Pink

  • magenta
  • Lightness: medium
  • Saturation: strong
  • Balanced

#ec42cb is a color from the magenta family, with medium lightness and strong saturation. In the RGB model it is made of 92.55% red, 25.88% green and 79.61% blue; printed in CMYK it uses 0% cyan, 72.03% magenta, 13.98% yellow and 7.45% black. Its hue angle is 311.65°, with 81.73% saturation and 59.22% 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 6.21:1 (WCAG AA). The closest named color is Shocking Pink (#fc0fc0), ΔE 3.71.

Description generated from the measured properties of this color.

Conversions of #ec42cb into other color spaces
HEX
RGB
RGB percent
CMY
CMYK
HSL
HSV / HSB
Web safe#ff33cc
CIE-LAB
XYZ
xyY
CIE-LCH
CIE-LUV
Hunter-Lab
OKLab
Binary
Decimal
Relative luminance0.2604

Readable text 3.38:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕
Readable text 6.21:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓

Achromatopsia #8c8c8c ≈ 0.003% of males
Achromatomaly #ba75a9 ≈ 0.001% of males
Protanopia #477bcf ≈ 1.01% of males
Deuteranopia #8195c7 ≈ 1.27% of males
Tritanopia #f84c82 ≈ 0.0001% of males
Protanomaly #a469cd ≈ 1.08% of males
Deuteranomaly #b67cc9 ≈ 4.63% of males
Tritanomaly #f448a4 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-ec42cb {
  color: #ec42cb;
}
Background
.bg-ec42cb {
  background-color: #ec42cb;
  color: #000000;
}
Border
.border-ec42cb {
  border: 2px solid #ec42cb;
}
CSS variables
:root {
  --color-primary: #ec42cb;
  --color-primary-rgb: 236 66 203;
  --color-primary-hsl: 312 82% 59%;
}
Gradient
.gradient-ec42cb {
  background: linear-gradient(135deg, #ec42cb, #ec4276);
}
Colored shadow
.shadow-ec42cb {
  box-shadow: 0 8px 24px rgb(236 66 203 / 0.35);
}

Shocking Pink
#ec42cb  rgb(236, 66, 203)  hsl(312, 82%, 59%)  Shocking Pink
#42ec63  rgb(66, 236, 99)  hsl(132, 82%, 59%)  Malachite
#cbec42  rgb(203, 236, 66)  hsl(72, 82%, 59%)  Pear
#42cbec  rgb(66, 203, 236)  hsl(192, 82%, 59%)  Sky Blue