#EC0CA5

#ec0ca5 ≈ Shocking Pink

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

#ec0ca5 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.71% green and 64.71% blue; printed in CMYK it uses 0% cyan, 94.92% magenta, 30.08% yellow and 7.45% black. Its hue angle is 319.02°, with 90.32% saturation and 48.63% 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.9.

Description generated from the measured properties of this color.

Conversions of #ec0ca5 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.2081

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 #b5648f ≈ 0.001% of males
Protanopia #4267a8 ≈ 1.01% of males
Deuteranopia #838aa1 ≈ 1.27% of males
Tritanopia #fd0062 ≈ 0.0001% of males
Protanomaly #a351a7 ≈ 1.08% of males
Deuteranomaly #b76ea2 ≈ 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-ec0ca5 {
  color: #ec0ca5;
}
Background
.bg-ec0ca5 {
  background-color: #ec0ca5;
  color: #000000;
}
Border
.border-ec0ca5 {
  border: 2px solid #ec0ca5;
}
CSS variables
:root {
  --color-primary: #ec0ca5;
  --color-primary-rgb: 236 12 165;
  --color-primary-hsl: 319 90% 49%;
}
Gradient
.gradient-ec0ca5 {
  background: linear-gradient(135deg, #ec0ca5, #ec0c35);
}
Colored shadow
.shadow-ec0ca5 {
  box-shadow: 0 8px 24px rgb(236 12 165 / 0.35);
}

Shocking Pink
#ec0ca5  rgb(236, 12, 165)  hsl(319, 90%, 49%)  Shocking Pink
#0cec53  rgb(12, 236, 83)  hsl(139, 90%, 49%)  Malachite
#a5ec0c  rgb(165, 236, 12)  hsl(79, 90%, 49%)  Spring Bud
#0ca5ec  rgb(12, 165, 236)  hsl(199, 90%, 49%)  Carolina Blue