#EA28CB

#ea28cb ≈ Shocking Pink

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

#ea28cb 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 79.61% blue; printed in CMYK it uses 0% cyan, 82.91% magenta, 13.25% yellow and 8.24% black. Its hue angle is 309.59°, 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.66:1 (WCAG AA). The closest named color is Shocking Pink (#fc0fc0), ΔE 3.8.

Description generated from the measured properties of this color.

Conversions of #ea28cb 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.2332

Readable text 3.71:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕
Readable text 5.66:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓

Achromatopsia #858585 ≈ 0.003% of males
Achromatomaly #b66ba6 ≈ 0.001% of males
Protanopia #2c73cf ≈ 1.01% of males
Deuteranopia #778fc7 ≈ 1.27% of males
Tritanopia #f63b7c ≈ 0.0001% of males
Protanomaly #9e5dcd ≈ 1.08% of males
Deuteranomaly #b173c8 ≈ 4.63% of males
Tritanomaly #f234a2 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

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

Shocking Pink
#ea28cb  rgb(234, 40, 203)  hsl(310, 82%, 54%)  Shocking Pink
#28ea47  rgb(40, 234, 71)  hsl(130, 82%, 54%)  Malachite
#cbea28  rgb(203, 234, 40)  hsl(70, 82%, 54%)  Pear
#28cbea  rgb(40, 203, 234)  hsl(190, 82%, 54%)  Sky Blue