#EA02AC

#ea02ac ≈ Shocking Pink

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

#ea02ac is a color from the magenta family, with medium lightness and vivid saturation. In the RGB model it is made of 91.76% red, 0.78% green and 67.45% blue; printed in CMYK it uses 0% cyan, 99.15% magenta, 26.5% yellow and 8.24% black. Its hue angle is 316.03°, with 98.31% saturation and 46.27% 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.1:1 (WCAG AA). The closest named color is Shocking Pink (#fc0fc0), ΔE 4.54.

Description generated from the measured properties of this color.

Conversions of #ea02ac 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.2051

Readable text 4.12:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕
Readable text 5.1:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓

Achromatopsia #7d7d7d ≈ 0.003% of males
Achromatomaly #b36292 ≈ 0.001% of males
Protanopia #3967af ≈ 1.01% of males
Deuteranopia #7e89a8 ≈ 1.27% of males
Tritanopia #fa0065 ≈ 0.0001% of males
Protanomaly #a151ae ≈ 1.08% of males
Deuteranomaly #b46ca9 ≈ 4.63% of males
Tritanomaly #f40087 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

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

Shocking Pink
#ea02ac  rgb(234, 2, 172)  hsl(316, 98%, 46%)  Shocking Pink
#02ea40  rgb(2, 234, 64)  hsl(136, 98%, 46%)  Malachite
#acea02  rgb(172, 234, 2)  hsl(76, 98%, 46%)  Spring Bud
#02acea  rgb(2, 172, 234)  hsl(196, 98%, 46%)  Deep Sky Blue