#EA21BA

#ea21ba ≈ Shocking Pink

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

#ea21ba 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 72.94% blue; printed in CMYK it uses 0% cyan, 85.9% magenta, 20.51% yellow and 8.24% black. Its hue angle is 314.33°, 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.43: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 #ea21ba 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.2213

Readable text 3.87:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕
Readable text 5.43:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓

Achromatopsia #818181 ≈ 0.003% of males
Achromatomaly #b5689b ≈ 0.001% of males
Protanopia #396ebe ≈ 1.01% of males
Deuteranopia #7d8cb6 ≈ 1.27% of males
Tritanopia #f92971 ≈ 0.0001% of males
Protanomaly #a059bc ≈ 1.08% of males
Deuteranomaly #b371b7 ≈ 4.63% of males
Tritanomaly #f32694 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

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

Shocking Pink
#ea21ba  rgb(234, 33, 186)  hsl(314, 83%, 52%)  Shocking Pink
#21ea51  rgb(33, 234, 81)  hsl(134, 83%, 52%)  Malachite
#baea21  rgb(186, 234, 33)  hsl(74, 83%, 52%)  Electric Lime
#21baea  rgb(33, 186, 234)  hsl(194, 83%, 52%)  Deep Sky Blue