#EC02AF

#ec02af ≈ Shocking Pink

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

#ec02af is a color from the magenta family, with medium lightness and vivid saturation. In the RGB model it is made of 92.55% red, 0.78% green and 68.63% blue; printed in CMYK it uses 0% cyan, 99.15% magenta, 25.85% yellow and 7.45% black. Its hue angle is 315.64°, with 98.32% saturation and 46.67% 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.19:1 (WCAG AA). The closest named color is Shocking Pink (#fc0fc0), ΔE 3.97.

Description generated from the measured properties of this color.

Conversions of #ec02af 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.2097

Readable text 4.04:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕
Readable text 5.19:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓

Achromatopsia #7e7e7e ≈ 0.003% of males
Achromatomaly #b56394 ≈ 0.001% of males
Protanopia #3968b2 ≈ 1.01% of males
Deuteranopia #7f8aab ≈ 1.27% of males
Tritanopia #fc0067 ≈ 0.0001% of males
Protanomaly #a252b1 ≈ 1.08% of males
Deuteranomaly #b56dac ≈ 4.63% of males
Tritanomaly #f6008a ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

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

Shocking Pink
#ec02af  rgb(236, 2, 175)  hsl(316, 98%, 47%)  Shocking Pink
#02ec3f  rgb(2, 236, 63)  hsl(136, 98%, 47%)  Malachite
#afec02  rgb(175, 236, 2)  hsl(76, 98%, 47%)  Spring Bud
#02afec  rgb(2, 175, 236)  hsl(196, 98%, 47%)  Deep Sky Blue