#EC0AAF

#ec0aaf ≈ Shocking Pink

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

#ec0aaf 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 68.63% blue; printed in CMYK it uses 0% cyan, 95.76% magenta, 25.85% yellow and 7.45% black. Its hue angle is 316.19°, 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.23:1 (WCAG AA). The closest named color is Shocking Pink (#fc0fc0), ΔE 3.84.

Description generated from the measured properties of this color.

Conversions of #ec0aaf 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.2115

Readable text 4.02:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕
Readable text 5.23:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓

Achromatopsia #7f7f7f ≈ 0.003% of males
Achromatomaly #b56495 ≈ 0.001% of males
Protanopia #3b69b2 ≈ 1.01% of males
Deuteranopia #7f8bab ≈ 1.27% of males
Tritanopia #fc0167 ≈ 0.0001% of males
Protanomaly #a253b1 ≈ 1.08% of males
Deuteranomaly #b56eac ≈ 4.63% of males
Tritanomaly #f6058a ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

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

Shocking Pink
#ec0aaf  rgb(236, 10, 175)  hsl(316, 92%, 48%)  Shocking Pink
#0aec47  rgb(10, 236, 71)  hsl(136, 92%, 48%)  Malachite
#afec0a  rgb(175, 236, 10)  hsl(76, 92%, 48%)  Spring Bud
#0aafec  rgb(10, 175, 236)  hsl(196, 92%, 48%)  Deep Sky Blue