#EC0AAA

#ec0aaa ≈ Shocking Pink

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

#ec0aaa 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 66.67% blue; printed in CMYK it uses 0% cyan, 95.76% magenta, 27.97% yellow and 7.45% black. Its hue angle is 317.52°, 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.19:1 (WCAG AA). The closest named color is Shocking Pink (#fc0fc0), ΔE 4.32.

Description generated from the measured properties of this color.

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

Readable text 4.05:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕
Readable text 5.19:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓

Achromatopsia #7e7e7e ≈ 0.003% of males
Achromatomaly #b56492 ≈ 0.001% of males
Protanopia #3e68ad ≈ 1.01% of males
Deuteranopia #818aa6 ≈ 1.27% of males
Tritanopia #fd0064 ≈ 0.0001% of males
Protanomaly #a352ac ≈ 1.08% of males
Deuteranomaly #b66ea7 ≈ 4.63% of males
Tritanomaly #f60086 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

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

Shocking Pink
#ec0aaa  rgb(236, 10, 170)  hsl(318, 92%, 48%)  Shocking Pink
#0aec4c  rgb(10, 236, 76)  hsl(138, 92%, 48%)  Malachite
#aaec0a  rgb(170, 236, 10)  hsl(78, 92%, 48%)  Spring Bud
#0aaaec  rgb(10, 170, 236)  hsl(198, 92%, 48%)  Carolina Blue