#EC0CBB

#ec0cbb ≈ Shocking Pink

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

#ec0cbb 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 73.33% blue; printed in CMYK it uses 0% cyan, 94.92% magenta, 20.76% yellow and 7.45% black. Its hue angle is 313.13°, 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.34:1 (WCAG AA). The closest named color is Shocking Pink (#fc0fc0), ΔE 3.28.

Description generated from the measured properties of this color.

Conversions of #ec0cbb 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.2168

Readable text 3.93:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕
Readable text 5.34:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓

Achromatopsia #808080 ≈ 0.003% of males
Achromatomaly #b6669b ≈ 0.001% of males
Protanopia #306bbf ≈ 1.01% of males
Deuteranopia #7b8cb7 ≈ 1.27% of males
Tritanopia #fb1b6f ≈ 0.0001% of males
Protanomaly #a055bd ≈ 1.08% of males
Deuteranomaly #b46fb8 ≈ 4.63% of males
Tritanomaly #f51693 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

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

Shocking Pink
#ec0cbb  rgb(236, 12, 187)  hsl(313, 90%, 49%)  Shocking Pink
#0cec3d  rgb(12, 236, 61)  hsl(133, 90%, 49%)  Malachite
#bbec0c  rgb(187, 236, 12)  hsl(73, 90%, 49%)  Electric Lime
#0cbbec  rgb(12, 187, 236)  hsl(193, 90%, 49%)  Deep Sky Blue