#EF0CC2

#ef0cc2 ≈ Shocking Pink

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

#ef0cc2 is a color from the magenta family, with medium lightness and vivid saturation. In the RGB model it is made of 93.73% red, 4.71% green and 76.08% blue; printed in CMYK it uses 0% cyan, 94.98% magenta, 18.83% yellow and 6.27% black. Its hue angle is 311.89°, with 90.44% saturation and 49.22% 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.5:1 (WCAG AA). The closest named color is Shocking Pink (#fc0fc0), ΔE 2.85.

Description generated from the measured properties of this color.

Conversions of #ef0cc2 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.2251

Readable text 3.82:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕
Readable text 5.5:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓

Achromatopsia #828282 ≈ 0.003% of males
Achromatomaly #b867a0 ≈ 0.001% of males
Protanopia #2c6ec6 ≈ 1.01% of males
Deuteranopia #7b8ebe ≈ 1.27% of males
Tritanopia #fe2173 ≈ 0.0001% of males
Protanomaly #a257c4 ≈ 1.08% of males
Deuteranomaly #b570bf ≈ 4.63% of males
Tritanomaly #f81b99 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-ef0cc2 {
  color: #ef0cc2;
}
Background
.bg-ef0cc2 {
  background-color: #ef0cc2;
  color: #000000;
}
Border
.border-ef0cc2 {
  border: 2px solid #ef0cc2;
}
CSS variables
:root {
  --color-primary: #ef0cc2;
  --color-primary-rgb: 239 12 194;
  --color-primary-hsl: 312 90% 49%;
}
Gradient
.gradient-ef0cc2 {
  background: linear-gradient(135deg, #ef0cc2, #ef0c51);
}
Colored shadow
.shadow-ef0cc2 {
  box-shadow: 0 8px 24px rgb(239 12 194 / 0.35);
}

Shocking Pink
#ef0cc2  rgb(239, 12, 194)  hsl(312, 90%, 49%)  Shocking Pink
#0cef39  rgb(12, 239, 57)  hsl(132, 90%, 49%)  Lime
#c2ef0c  rgb(194, 239, 12)  hsl(72, 90%, 49%)  Electric Lime
#0cc2ef  rgb(12, 194, 239)  hsl(192, 90%, 49%)  Deep Sky Blue