#EF04C2

#ef04c2 ≈ Shocking Pink

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

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

Description generated from the measured properties of this color.

Conversions of #ef04c2 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.2233

Readable text 3.84:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕
Readable text 5.47:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓

Achromatopsia #828282 ≈ 0.003% of males
Achromatomaly #b867a0 ≈ 0.001% of males
Protanopia #296dc6 ≈ 1.01% of males
Deuteranopia #7a8dbe ≈ 1.27% of males
Tritanopia #fe1e72 ≈ 0.0001% of males
Protanomaly #a156c4 ≈ 1.08% of males
Deuteranomaly #b570bf ≈ 4.63% of males
Tritanomaly #f81799 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-ef04c2 {
  color: #ef04c2;
}
Background
.bg-ef04c2 {
  background-color: #ef04c2;
  color: #000000;
}
Border
.border-ef04c2 {
  border: 2px solid #ef04c2;
}
CSS variables
:root {
  --color-primary: #ef04c2;
  --color-primary-rgb: 239 4 194;
  --color-primary-hsl: 311 97% 48%;
}
Gradient
.gradient-ef04c2 {
  background: linear-gradient(135deg, #ef04c2, #ef044d);
}
Colored shadow
.shadow-ef04c2 {
  box-shadow: 0 8px 24px rgb(239 4 194 / 0.35);
}

Shocking Pink
#ef04c2  rgb(239, 4, 194)  hsl(311, 97%, 48%)  Shocking Pink
#04ef31  rgb(4, 239, 49)  hsl(131, 97%, 48%)  Lime
#c2ef04  rgb(194, 239, 4)  hsl(71, 97%, 48%)  Electric Lime
#04c2ef  rgb(4, 194, 239)  hsl(191, 97%, 48%)  Deep Sky Blue