#EB21CF

#eb21cf ≈ Shocking Pink

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

#eb21cf is a color from the magenta family, with medium lightness and vivid saturation. In the RGB model it is made of 92.16% red, 12.94% green and 81.18% blue; printed in CMYK it uses 0% cyan, 85.96% magenta, 11.91% yellow and 7.84% black. Its hue angle is 308.32°, with 83.47% saturation and 52.55% 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.65:1 (WCAG AA). The closest named color is Shocking Pink (#fc0fc0), ΔE 4.24.

Description generated from the measured properties of this color.

Conversions of #eb21cf 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.2325

Readable text 3.72:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕
Readable text 5.65:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓

Achromatopsia #848484 ≈ 0.003% of males
Achromatomaly #b76ba8 ≈ 0.001% of males
Protanopia #2072d3 ≈ 1.01% of males
Deuteranopia #748ecb ≈ 1.27% of males
Tritanopia #f7397d ≈ 0.0001% of males
Protanomaly #9e5cd2 ≈ 1.08% of males
Deuteranomaly #b172cc ≈ 4.63% of males
Tritanomaly #f231a4 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-eb21cf {
  color: #eb21cf;
}
Background
.bg-eb21cf {
  background-color: #eb21cf;
  color: #000000;
}
Border
.border-eb21cf {
  border: 2px solid #eb21cf;
}
CSS variables
:root {
  --color-primary: #eb21cf;
  --color-primary-rgb: 235 33 207;
  --color-primary-hsl: 308 83% 53%;
}
Gradient
.gradient-eb21cf {
  background: linear-gradient(135deg, #eb21cf, #eb216a);
}
Colored shadow
.shadow-eb21cf {
  box-shadow: 0 8px 24px rgb(235 33 207 / 0.35);
}

Shocking Pink
#eb21cf  rgb(235, 33, 207)  hsl(308, 83%, 53%)  Shocking Pink
#21eb3d  rgb(33, 235, 61)  hsl(128, 83%, 53%)  Malachite
#cfeb21  rgb(207, 235, 33)  hsl(68, 83%, 53%)  Pear
#21cfeb  rgb(33, 207, 235)  hsl(188, 83%, 53%)  Sky Blue