#EF21CD

#ef21cd ≈ Shocking Pink

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

#ef21cd 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 80.39% blue; printed in CMYK it uses 0% cyan, 86.19% magenta, 14.23% yellow and 6.27% black. Its hue angle is 309.9°, 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.77:1 (WCAG AA). The closest named color is Shocking Pink (#fc0fc0), ΔE 3.37.

Description generated from the measured properties of this color.

Conversions of #ef21cd 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.2385

Readable text 3.64:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕
Readable text 5.77:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓

Achromatopsia #868686 ≈ 0.003% of males
Achromatomaly #ba6ca7 ≈ 0.001% of males
Protanopia #2973d1 ≈ 1.01% of males
Deuteranopia #7990c9 ≈ 1.27% of males
Tritanopia #fc367c ≈ 0.0001% of males
Protanomaly #a15dcf ≈ 1.08% of males
Deuteranomaly #b574ca ≈ 4.63% of males
Tritanomaly #f72fa3 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

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

Shocking Pink
#ef21cd  rgb(239, 33, 205)  hsl(310, 87%, 53%)  Shocking Pink
#21ef43  rgb(33, 239, 67)  hsl(130, 87%, 53%)  Lime
#cdef21  rgb(205, 239, 33)  hsl(70, 87%, 53%)  Pear
#21cdef  rgb(33, 205, 239)  hsl(190, 87%, 53%)  Sky Blue