#EC0ACC

#ec0acc ≈ Shocking Pink

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

#ec0acc is a color from the magenta family, with medium lightness and vivid saturation. In the RGB model it is made of 92.55% red, 3.92% green and 80% blue; printed in CMYK it uses 0% cyan, 95.76% magenta, 13.56% yellow and 7.45% black. Its hue angle is 308.5°, with 91.87% saturation and 48.24% 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.48:1 (WCAG AA). The closest named color is Shocking Pink (#fc0fc0), ΔE 4.25.

Description generated from the measured properties of this color.

Conversions of #ec0acc 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.2241

Readable text 3.83:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕
Readable text 5.48:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓

Achromatopsia #828282 ≈ 0.003% of males
Achromatomaly #b667a5 ≈ 0.001% of males
Protanopia #146fd0 ≈ 1.01% of males
Deuteranopia #748dc8 ≈ 1.27% of males
Tritanopia #f92d79 ≈ 0.0001% of males
Protanomaly #9e57cf ≈ 1.08% of males
Deuteranomaly #b170c9 ≈ 4.63% of males
Tritanomaly #f423a1 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-ec0acc {
  color: #ec0acc;
}
Background
.bg-ec0acc {
  background-color: #ec0acc;
  color: #000000;
}
Border
.border-ec0acc {
  border: 2px solid #ec0acc;
}
CSS variables
:root {
  --color-primary: #ec0acc;
  --color-primary-rgb: 236 10 204;
  --color-primary-hsl: 309 92% 48%;
}
Gradient
.gradient-ec0acc {
  background: linear-gradient(135deg, #ec0acc, #ec0a5b);
}
Colored shadow
.shadow-ec0acc {
  box-shadow: 0 8px 24px rgb(236 10 204 / 0.35);
}

Shocking Pink
#ec0acc  rgb(236, 10, 204)  hsl(309, 92%, 48%)  Shocking Pink
#0aec2a  rgb(10, 236, 42)  hsl(129, 92%, 48%)  Lime
#ccec0a  rgb(204, 236, 10)  hsl(69, 92%, 48%)  Pear
#0accec  rgb(10, 204, 236)  hsl(189, 92%, 48%)  Sky Blue