#EC0FA9

#ec0fa9 ≈ Shocking Pink

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

#ec0fa9 is a color from the magenta family, with medium lightness and vivid saturation. In the RGB model it is made of 92.55% red, 5.88% green and 66.27% blue; printed in CMYK it uses 0% cyan, 93.64% magenta, 28.39% yellow and 7.45% black. Its hue angle is 318.19°, with 88.05% 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.21:1 (WCAG AA). The closest named color is Shocking Pink (#fc0fc0), ΔE 4.36.

Description generated from the measured properties of this color.

Conversions of #ec0fa9 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.2104

Readable text 4.03:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕
Readable text 5.21:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓

Achromatopsia #7e7e7e ≈ 0.003% of males
Achromatomaly #b56491 ≈ 0.001% of males
Protanopia #4068ac ≈ 1.01% of males
Deuteranopia #828ba5 ≈ 1.27% of males
Tritanopia #fd0064 ≈ 0.0001% of males
Protanomaly #a352ab ≈ 1.08% of males
Deuteranomaly #b66ea6 ≈ 4.63% of males
Tritanomaly #f60185 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-ec0fa9 {
  color: #ec0fa9;
}
Background
.bg-ec0fa9 {
  background-color: #ec0fa9;
  color: #000000;
}
Border
.border-ec0fa9 {
  border: 2px solid #ec0fa9;
}
CSS variables
:root {
  --color-primary: #ec0fa9;
  --color-primary-rgb: 236 15 169;
  --color-primary-hsl: 318 88% 49%;
}
Gradient
.gradient-ec0fa9 {
  background: linear-gradient(135deg, #ec0fa9, #ec0f3b);
}
Colored shadow
.shadow-ec0fa9 {
  box-shadow: 0 8px 24px rgb(236 15 169 / 0.35);
}

Shocking Pink
#ec0fa9  rgb(236, 15, 169)  hsl(318, 88%, 49%)  Shocking Pink
#0fec52  rgb(15, 236, 82)  hsl(138, 88%, 49%)  Malachite
#a9ec0f  rgb(169, 236, 15)  hsl(78, 88%, 49%)  Spring Bud
#0fa9ec  rgb(15, 169, 236)  hsl(198, 88%, 49%)  Carolina Blue