#EA02C4

#ea02c4 ≈ Shocking Pink

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

#ea02c4 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 76.86% blue; printed in CMYK it uses 0% cyan, 99.15% magenta, 16.24% yellow and 8.24% black. Its hue angle is 309.83°, 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.3:1 (WCAG AA). The closest named color is Shocking Pink (#fc0fc0), ΔE 4.19.

Description generated from the measured properties of this color.

Conversions of #ea02c4 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.2152

Readable text 3.96:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕
Readable text 5.3:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓

Achromatopsia #808080 ≈ 0.003% of males
Achromatomaly #b465a0 ≈ 0.001% of males
Protanopia #1e6cc8 ≈ 1.01% of males
Deuteranopia #758bc0 ≈ 1.27% of males
Tritanopia #f72473 ≈ 0.0001% of males
Protanomaly #9d55c6 ≈ 1.08% of males
Deuteranomaly #b06ec1 ≈ 4.63% of males
Tritanomaly #f21b9a ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

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

Shocking Pink
#ea02c4  rgb(234, 2, 196)  hsl(310, 98%, 46%)  Shocking Pink
#02ea28  rgb(2, 234, 40)  hsl(130, 98%, 46%)  Lime
#c4ea02  rgb(196, 234, 2)  hsl(70, 98%, 46%)  Pear
#02c4ea  rgb(2, 196, 234)  hsl(190, 98%, 46%)  Deep Sky Blue