#EC04BD

#ec04bd ≈ Shocking Pink

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

#ec04bd 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 74.12% blue; printed in CMYK it uses 0% cyan, 98.31% magenta, 19.92% yellow and 7.45% black. Its hue angle is 312.16°, 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.32:1 (WCAG AA). The closest named color is Shocking Pink (#fc0fc0), ΔE 3.47.

Description generated from the measured properties of this color.

Conversions of #ec04bd 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.2159

Readable text 3.95:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕
Readable text 5.32:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓

Achromatopsia #808080 ≈ 0.003% of males
Achromatomaly #b6659c ≈ 0.001% of males
Protanopia #2c6bc1 ≈ 1.01% of males
Deuteranopia #7a8bb9 ≈ 1.27% of males
Tritanopia #fb1a6f ≈ 0.0001% of males
Protanomaly #a054bf ≈ 1.08% of males
Deuteranomaly #b36eba ≈ 4.63% of males
Tritanomaly #f51495 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

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

Shocking Pink
#ec04bd  rgb(236, 4, 189)  hsl(312, 97%, 47%)  Shocking Pink
#04ec33  rgb(4, 236, 51)  hsl(132, 97%, 47%)  Lime
#bdec04  rgb(189, 236, 4)  hsl(72, 97%, 47%)  Electric Lime
#04bdec  rgb(4, 189, 236)  hsl(192, 97%, 47%)  Deep Sky Blue