#EA21CB

#ea21cb ≈ Shocking Pink

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

#ea21cb is a color from the magenta family, with medium lightness and vivid saturation. In the RGB model it is made of 91.76% red, 12.94% green and 79.61% blue; printed in CMYK it uses 0% cyan, 85.9% magenta, 13.25% yellow and 8.24% black. Its hue angle is 309.25°, with 82.72% saturation and 52.35% 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.99.

Description generated from the measured properties of this color.

Conversions of #ea21cb 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.2289

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 #b66aa5 ≈ 0.001% of males
Protanopia #2671cf ≈ 1.01% of males
Deuteranopia #758ec7 ≈ 1.27% of males
Tritanopia #f6377a ≈ 0.0001% of males
Protanomaly #9e5bcd ≈ 1.08% of males
Deuteranomaly #b072c8 ≈ 4.63% of males
Tritanomaly #f22fa1 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-ea21cb {
  color: #ea21cb;
}
Background
.bg-ea21cb {
  background-color: #ea21cb;
  color: #000000;
}
Border
.border-ea21cb {
  border: 2px solid #ea21cb;
}
CSS variables
:root {
  --color-primary: #ea21cb;
  --color-primary-rgb: 234 33 203;
  --color-primary-hsl: 309 83% 52%;
}
Gradient
.gradient-ea21cb {
  background: linear-gradient(135deg, #ea21cb, #ea2167);
}
Colored shadow
.shadow-ea21cb {
  box-shadow: 0 8px 24px rgb(234 33 203 / 0.35);
}

Shocking Pink
#ea21cb  rgb(234, 33, 203)  hsl(309, 83%, 52%)  Shocking Pink
#21ea40  rgb(33, 234, 64)  hsl(129, 83%, 52%)  Malachite
#cbea21  rgb(203, 234, 33)  hsl(69, 83%, 52%)  Pear
#21cbea  rgb(33, 203, 234)  hsl(189, 83%, 52%)  Sky Blue