#EF0CC4

#ef0cc4 ≈ Shocking Pink

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

#ef0cc4 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.86% blue; printed in CMYK it uses 0% cyan, 94.98% magenta, 17.99% yellow and 6.27% black. Its hue angle is 311.37°, 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.52:1 (WCAG AA). The closest named color is Shocking Pink (#fc0fc0), ΔE 2.97.

Description generated from the measured properties of this color.

Conversions of #ef0cc4 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.226

Readable text 3.8:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕
Readable text 5.52:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓

Achromatopsia #838383 ≈ 0.003% of males
Achromatomaly #b868a1 ≈ 0.001% of males
Protanopia #296ec8 ≈ 1.01% of males
Deuteranopia #7a8ec0 ≈ 1.27% of males
Tritanopia #fd2374 ≈ 0.0001% of males
Protanomaly #a157c6 ≈ 1.08% of males
Deuteranomaly #b571c1 ≈ 4.63% of males
Tritanomaly #f81c9a ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

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

Shocking Pink
#ef0cc4  rgb(239, 12, 196)  hsl(311, 90%, 49%)  Shocking Pink
#0cef37  rgb(12, 239, 55)  hsl(131, 90%, 49%)  Lime
#c4ef0c  rgb(196, 239, 12)  hsl(71, 90%, 49%)  Electric Lime
#0cc4ef  rgb(12, 196, 239)  hsl(191, 90%, 49%)  Deep Sky Blue