#EC05AB

#ec05ab ≈ Shocking Pink

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

#ec05ab 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.96% green and 67.06% blue; printed in CMYK it uses 0% cyan, 97.88% magenta, 27.54% yellow and 7.45% black. Its hue angle is 316.88°, with 95.85% saturation and 47.25% 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.18:1 (WCAG AA). The closest named color is Shocking Pink (#fc0fc0), ΔE 4.29.

Description generated from the measured properties of this color.

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

Readable text 4.06:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕
Readable text 5.18:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓

Achromatopsia #7e7e7e ≈ 0.003% of males
Achromatomaly #b56392 ≈ 0.001% of males
Protanopia #3c68ae ≈ 1.01% of males
Deuteranopia #808aa7 ≈ 1.27% of males
Tritanopia #fd0064 ≈ 0.0001% of males
Protanomaly #a251ad ≈ 1.08% of males
Deuteranomaly #b66da8 ≈ 4.63% of males
Tritanomaly #f60086 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-ec05ab {
  color: #ec05ab;
}
Background
.bg-ec05ab {
  background-color: #ec05ab;
  color: #000000;
}
Border
.border-ec05ab {
  border: 2px solid #ec05ab;
}
CSS variables
:root {
  --color-primary: #ec05ab;
  --color-primary-rgb: 236 5 171;
  --color-primary-hsl: 317 96% 47%;
}
Gradient
.gradient-ec05ab {
  background: linear-gradient(135deg, #ec05ab, #ec0538);
}
Colored shadow
.shadow-ec05ab {
  box-shadow: 0 8px 24px rgb(236 5 171 / 0.35);
}

Shocking Pink
#ec05ab  rgb(236, 5, 171)  hsl(317, 96%, 47%)  Shocking Pink
#05ec46  rgb(5, 236, 70)  hsl(137, 96%, 47%)  Malachite
#abec05  rgb(171, 236, 5)  hsl(77, 96%, 47%)  Spring Bud
#05abec  rgb(5, 171, 236)  hsl(197, 96%, 47%)  Carolina Blue