#EA28C2

#ea28c2 ≈ Shocking Pink

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

#ea28c2 is a color from the magenta family, with medium lightness and vivid saturation. In the RGB model it is made of 91.76% red, 15.69% green and 76.08% blue; printed in CMYK it uses 0% cyan, 82.91% magenta, 17.09% yellow and 8.24% black. Its hue angle is 312.37°, with 82.2% saturation and 53.73% 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.58:1 (WCAG AA). The closest named color is Shocking Pink (#fc0fc0), ΔE 3.02.

Description generated from the measured properties of this color.

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

Readable text 3.76:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕
Readable text 5.58:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓

Achromatopsia #848484 ≈ 0.003% of males
Achromatomaly #b66ba0 ≈ 0.001% of males
Protanopia #3671c6 ≈ 1.01% of males
Deuteranopia #7b8ebe ≈ 1.27% of males
Tritanopia #f83476 ≈ 0.0001% of males
Protanomaly #a05cc4 ≈ 1.08% of males
Deuteranomaly #b273c0 ≈ 4.63% of males
Tritanomaly #f2309a ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-ea28c2 {
  color: #ea28c2;
}
Background
.bg-ea28c2 {
  background-color: #ea28c2;
  color: #000000;
}
Border
.border-ea28c2 {
  border: 2px solid #ea28c2;
}
CSS variables
:root {
  --color-primary: #ea28c2;
  --color-primary-rgb: 234 40 194;
  --color-primary-hsl: 312 82% 54%;
}
Gradient
.gradient-ea28c2 {
  background: linear-gradient(135deg, #ea28c2, #ea2861);
}
Colored shadow
.shadow-ea28c2 {
  box-shadow: 0 8px 24px rgb(234 40 194 / 0.35);
}

Shocking Pink
#ea28c2  rgb(234, 40, 194)  hsl(312, 82%, 54%)  Shocking Pink
#28ea50  rgb(40, 234, 80)  hsl(132, 82%, 54%)  Malachite
#c2ea28  rgb(194, 234, 40)  hsl(72, 82%, 54%)  Pear
#28c2ea  rgb(40, 194, 234)  hsl(192, 82%, 54%)  Deep Sky Blue