#EF02CB

#ef02cb ≈ Shocking Pink

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

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

Description generated from the measured properties of this color.

Conversions of #ef02cb into other color spaces
HEX
RGB
RGB percent
CMY
CMYK
HSL
HSV / HSB
Web safe#ff00cc
CIE-LAB
XYZ
xyY
CIE-LCH
CIE-LUV
Hunter-Lab
OKLab
Binary
Decimal
Relative luminance0.2271

Readable text 3.79:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕
Readable text 5.54:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓

Achromatopsia #838383 ≈ 0.003% of males
Achromatomaly #b867a5 ≈ 0.001% of males
Protanopia #196fcf ≈ 1.01% of males
Deuteranopia #768ec7 ≈ 1.27% of males
Tritanopia #fc2877 ≈ 0.0001% of males
Protanomaly #a057cd ≈ 1.08% of males
Deuteranomaly #b470c8 ≈ 4.63% of males
Tritanomaly #f71ea0 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

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

Shocking Pink
#ef02cb  rgb(239, 2, 203)  hsl(309, 98%, 47%)  Shocking Pink
#02ef26  rgb(2, 239, 38)  hsl(129, 98%, 47%)  Lime
#cbef02  rgb(203, 239, 2)  hsl(69, 98%, 47%)  Electric Lime
#02cbef  rgb(2, 203, 239)  hsl(189, 98%, 47%)  Sky Blue