#EF22CB

#ef22cb ≈ Shocking Pink

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

#ef22cb is a color from the magenta family, with medium lightness and vivid saturation. In the RGB model it is made of 93.73% red, 13.33% green and 79.61% blue; printed in CMYK it uses 0% cyan, 85.77% magenta, 15.06% yellow and 6.27% black. Its hue angle is 310.54°, with 86.5% saturation and 53.53% 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.76:1 (WCAG AA). The closest named color is Shocking Pink (#fc0fc0), ΔE 3.11.

Description generated from the measured properties of this color.

Conversions of #ef22cb 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.2381

Readable text 3.65:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕
Readable text 5.76:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓

Achromatopsia #868686 ≈ 0.003% of males
Achromatomaly #ba6ca6 ≈ 0.001% of males
Protanopia #2d73cf ≈ 1.01% of males
Deuteranopia #7a90c7 ≈ 1.27% of males
Tritanopia #fc357b ≈ 0.0001% of males
Protanomaly #a25dcd ≈ 1.08% of males
Deuteranomaly #b574c8 ≈ 4.63% of males
Tritanomaly #f72ea1 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-ef22cb {
  color: #ef22cb;
}
Background
.bg-ef22cb {
  background-color: #ef22cb;
  color: #000000;
}
Border
.border-ef22cb {
  border: 2px solid #ef22cb;
}
CSS variables
:root {
  --color-primary: #ef22cb;
  --color-primary-rgb: 239 34 203;
  --color-primary-hsl: 311 87% 54%;
}
Gradient
.gradient-ef22cb {
  background: linear-gradient(135deg, #ef22cb, #ef2264);
}
Colored shadow
.shadow-ef22cb {
  box-shadow: 0 8px 24px rgb(239 34 203 / 0.35);
}

Shocking Pink
#ef22cb  rgb(239, 34, 203)  hsl(311, 87%, 54%)  Shocking Pink
#22ef46  rgb(34, 239, 70)  hsl(131, 87%, 54%)  Lime
#cbef22  rgb(203, 239, 34)  hsl(71, 87%, 54%)  Electric Lime
#22cbef  rgb(34, 203, 239)  hsl(191, 87%, 54%)  Sky Blue