#EC0CBE

#ec0cbe ≈ Shocking Pink

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

#ec0cbe 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 74.51% blue; printed in CMYK it uses 0% cyan, 94.92% magenta, 19.49% yellow and 7.45% black. Its hue angle is 312.32°, 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.36:1 (WCAG AA). The closest named color is Shocking Pink (#fc0fc0), ΔE 3.32.

Description generated from the measured properties of this color.

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

Readable text 3.92:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕
Readable text 5.36:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓

Achromatopsia #818181 ≈ 0.003% of males
Achromatomaly #b6669d ≈ 0.001% of males
Protanopia #2d6cc2 ≈ 1.01% of males
Deuteranopia #7a8cba ≈ 1.27% of males
Tritanopia #fb1f70 ≈ 0.0001% of males
Protanomaly #a055c0 ≈ 1.08% of males
Deuteranomaly #b36fbb ≈ 4.63% of males
Tritanomaly #f51996 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-ec0cbe {
  color: #ec0cbe;
}
Background
.bg-ec0cbe {
  background-color: #ec0cbe;
  color: #000000;
}
Border
.border-ec0cbe {
  border: 2px solid #ec0cbe;
}
CSS variables
:root {
  --color-primary: #ec0cbe;
  --color-primary-rgb: 236 12 190;
  --color-primary-hsl: 312 90% 49%;
}
Gradient
.gradient-ec0cbe {
  background: linear-gradient(135deg, #ec0cbe, #ec0c4e);
}
Colored shadow
.shadow-ec0cbe {
  box-shadow: 0 8px 24px rgb(236 12 190 / 0.35);
}

Shocking Pink
#ec0cbe  rgb(236, 12, 190)  hsl(312, 90%, 49%)  Shocking Pink
#0cec3a  rgb(12, 236, 58)  hsl(132, 90%, 49%)  Lime
#beec0c  rgb(190, 236, 12)  hsl(72, 90%, 49%)  Electric Lime
#0cbeec  rgb(12, 190, 236)  hsl(192, 90%, 49%)  Deep Sky Blue