#EF21BF

#ef21bf ≈ Shocking Pink

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

#ef21bf is a color from the magenta family, with medium lightness and vivid saturation. In the RGB model it is made of 93.73% red, 12.94% green and 74.9% blue; printed in CMYK it uses 0% cyan, 86.19% magenta, 20.08% yellow and 6.27% black. Its hue angle is 313.98°, with 86.55% saturation and 53.33% 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.64:1 (WCAG AA). The closest named color is Shocking Pink (#fc0fc0), ΔE 2.11.

Description generated from the measured properties of this color.

Conversions of #ef21bf 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.232

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

Achromatopsia #848484 ≈ 0.003% of males
Achromatomaly #b96a9f ≈ 0.001% of males
Protanopia #3970c3 ≈ 1.01% of males
Deuteranopia #7f8fbb ≈ 1.27% of males
Tritanopia #fe2a73 ≈ 0.0001% of males
Protanomaly #a45bc1 ≈ 1.08% of males
Deuteranomaly #b773bc ≈ 4.63% of males
Tritanomaly #f82798 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-ef21bf {
  color: #ef21bf;
}
Background
.bg-ef21bf {
  background-color: #ef21bf;
  color: #000000;
}
Border
.border-ef21bf {
  border: 2px solid #ef21bf;
}
CSS variables
:root {
  --color-primary: #ef21bf;
  --color-primary-rgb: 239 33 191;
  --color-primary-hsl: 314 87% 53%;
}
Gradient
.gradient-ef21bf {
  background: linear-gradient(135deg, #ef21bf, #ef2158);
}
Colored shadow
.shadow-ef21bf {
  box-shadow: 0 8px 24px rgb(239 33 191 / 0.35);
}

Shocking Pink
#ef21bf  rgb(239, 33, 191)  hsl(314, 87%, 53%)  Shocking Pink
#21ef51  rgb(33, 239, 81)  hsl(134, 87%, 53%)  Malachite
#bfef21  rgb(191, 239, 33)  hsl(74, 87%, 53%)  Electric Lime
#21bfef  rgb(33, 191, 239)  hsl(194, 87%, 53%)  Deep Sky Blue