#EC0BA5

#ec0ba5 ≈ Shocking Pink

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

#ec0ba5 is a color from the magenta family, with medium lightness and vivid saturation. In the RGB model it is made of 92.55% red, 4.31% green and 64.71% blue; printed in CMYK it uses 0% cyan, 95.34% magenta, 30.08% yellow and 7.45% black. Its hue angle is 318.93°, with 91.09% saturation and 48.43% 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.16:1 (WCAG AA). The closest named color is Shocking Pink (#fc0fc0), ΔE 4.91.

Description generated from the measured properties of this color.

Conversions of #ec0ba5 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.2079

Readable text 4.07:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕
Readable text 5.16:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓

Achromatopsia #7e7e7e ≈ 0.003% of males
Achromatomaly #b5638f ≈ 0.001% of males
Protanopia #4267a8 ≈ 1.01% of males
Deuteranopia #838aa1 ≈ 1.27% of males
Tritanopia #fd0061 ≈ 0.0001% of males
Protanomaly #a351a7 ≈ 1.08% of males
Deuteranomaly #b66da2 ≈ 4.63% of males
Tritanomaly #f70082 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-ec0ba5 {
  color: #ec0ba5;
}
Background
.bg-ec0ba5 {
  background-color: #ec0ba5;
  color: #000000;
}
Border
.border-ec0ba5 {
  border: 2px solid #ec0ba5;
}
CSS variables
:root {
  --color-primary: #ec0ba5;
  --color-primary-rgb: 236 11 165;
  --color-primary-hsl: 319 91% 48%;
}
Gradient
.gradient-ec0ba5 {
  background: linear-gradient(135deg, #ec0ba5, #ec0b35);
}
Colored shadow
.shadow-ec0ba5 {
  box-shadow: 0 8px 24px rgb(236 11 165 / 0.35);
}

Shocking Pink
#ec0ba5  rgb(236, 11, 165)  hsl(319, 91%, 48%)  Shocking Pink
#0bec52  rgb(11, 236, 82)  hsl(139, 91%, 48%)  Malachite
#a5ec0b  rgb(165, 236, 11)  hsl(79, 91%, 48%)  Spring Bud
#0ba5ec  rgb(11, 165, 236)  hsl(199, 91%, 48%)  Carolina Blue