#EC0CD4

#ec0cd4 ≈ Shocking Pink

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

#ec0cd4 is a color from the magenta family, with medium lightness and vivid saturation. In the RGB model it is made of 92.55% red, 4.71% green and 83.14% blue; printed in CMYK it uses 0% cyan, 94.92% magenta, 10.17% yellow and 7.45% black. Its hue angle is 306.43°, with 90.32% saturation and 48.63% 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 5.57:1 (WCAG AA). The closest named color is Shocking Pink (#fc0fc0), ΔE 5.03.

Description generated from the measured properties of this color.

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

Readable text 3.77:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕
Readable text 5.57:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓

Achromatopsia #838383 ≈ 0.003% of males
Achromatomaly #b768aa ≈ 0.001% of males
Protanopia #0071d8 ≈ 1.01% of males
Deuteranopia #708ed0 ≈ 1.27% of males
Tritanopia #f8347d ≈ 0.0001% of males
Protanomaly #9c59d7 ≈ 1.08% of males
Deuteranomaly #b070d1 ≈ 4.63% of males
Tritanomaly #f329a7 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-ec0cd4 {
  color: #ec0cd4;
}
Background
.bg-ec0cd4 {
  background-color: #ec0cd4;
  color: #000000;
}
Border
.border-ec0cd4 {
  border: 2px solid #ec0cd4;
}
CSS variables
:root {
  --color-primary: #ec0cd4;
  --color-primary-rgb: 236 12 212;
  --color-primary-hsl: 306 90% 49%;
}
Gradient
.gradient-ec0cd4 {
  background: linear-gradient(135deg, #ec0cd4, #ec0c64);
}
Colored shadow
.shadow-ec0cd4 {
  box-shadow: 0 8px 24px rgb(236 12 212 / 0.35);
}

Shocking Pink
#ec0cd4  rgb(236, 12, 212)  hsl(306, 90%, 49%)  Shocking Pink
#0cec24  rgb(12, 236, 36)  hsl(126, 90%, 49%)  Lime
#d4ec0c  rgb(212, 236, 12)  hsl(66, 90%, 49%)  Pear
#0cd4ec  rgb(12, 212, 236)  hsl(186, 90%, 49%)  Dark Turquoise