#EC04CF

#ec04cf ≈ Shocking Pink

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

#ec04cf is a color from the magenta family, with medium lightness and vivid saturation. In the RGB model it is made of 92.55% red, 1.57% green and 81.18% blue; printed in CMYK it uses 0% cyan, 98.31% magenta, 12.29% yellow and 7.45% black. Its hue angle is 307.5°, with 96.67% saturation and 47.06% 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.48:1 (WCAG AA). The closest named color is Shocking Pink (#fc0fc0), ΔE 4.63.

Description generated from the measured properties of this color.

Conversions of #ec04cf 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.2242

Readable text 3.83:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕
Readable text 5.48:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓

Achromatopsia #828282 ≈ 0.003% of males
Achromatomaly #b667a7 ≈ 0.001% of males
Protanopia #046fd3 ≈ 1.01% of males
Deuteranopia #728dcb ≈ 1.27% of males
Tritanopia #f82e7a ≈ 0.0001% of males
Protanomaly #9d57d2 ≈ 1.08% of males
Deuteranomaly #b06fcc ≈ 4.63% of males
Tritanomaly #f323a3 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-ec04cf {
  color: #ec04cf;
}
Background
.bg-ec04cf {
  background-color: #ec04cf;
  color: #000000;
}
Border
.border-ec04cf {
  border: 2px solid #ec04cf;
}
CSS variables
:root {
  --color-primary: #ec04cf;
  --color-primary-rgb: 236 4 207;
  --color-primary-hsl: 308 97% 47%;
}
Gradient
.gradient-ec04cf {
  background: linear-gradient(135deg, #ec04cf, #ec045b);
}
Colored shadow
.shadow-ec04cf {
  box-shadow: 0 8px 24px rgb(236 4 207 / 0.35);
}

Shocking Pink
#ec04cf  rgb(236, 4, 207)  hsl(308, 97%, 47%)  Shocking Pink
#04ec21  rgb(4, 236, 33)  hsl(128, 97%, 47%)  Lime
#cfec04  rgb(207, 236, 4)  hsl(68, 97%, 47%)  Pear
#04cfec  rgb(4, 207, 236)  hsl(188, 97%, 47%)  Sky Blue