#EC0EB7

#ec0eb7 ≈ Shocking Pink

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

#ec0eb7 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.49% green and 71.76% blue; printed in CMYK it uses 0% cyan, 94.07% magenta, 22.46% yellow and 7.45% black. Its hue angle is 314.32°, with 88.8% saturation and 49.02% 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.31:1 (WCAG AA). The closest named color is Shocking Pink (#fc0fc0), ΔE 3.29.

Description generated from the measured properties of this color.

Conversions of #ec0eb7 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.2157

Readable text 3.95:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕
Readable text 5.31:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓

Achromatopsia #808080 ≈ 0.003% of males
Achromatomaly #b56599 ≈ 0.001% of males
Protanopia #356bbb ≈ 1.01% of males
Deuteranopia #7d8cb3 ≈ 1.27% of males
Tritanopia #fb166c ≈ 0.0001% of males
Protanomaly #a154b9 ≈ 1.08% of males
Deuteranomaly #b46fb4 ≈ 4.63% of males
Tritanomaly #f51390 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-ec0eb7 {
  color: #ec0eb7;
}
Background
.bg-ec0eb7 {
  background-color: #ec0eb7;
  color: #000000;
}
Border
.border-ec0eb7 {
  border: 2px solid #ec0eb7;
}
CSS variables
:root {
  --color-primary: #ec0eb7;
  --color-primary-rgb: 236 14 183;
  --color-primary-hsl: 314 89% 49%;
}
Gradient
.gradient-ec0eb7 {
  background: linear-gradient(135deg, #ec0eb7, #ec0e48);
}
Colored shadow
.shadow-ec0eb7 {
  box-shadow: 0 8px 24px rgb(236 14 183 / 0.35);
}

Shocking Pink
#ec0eb7  rgb(236, 14, 183)  hsl(314, 89%, 49%)  Shocking Pink
#0eec43  rgb(14, 236, 67)  hsl(134, 89%, 49%)  Malachite
#b7ec0e  rgb(183, 236, 14)  hsl(74, 89%, 49%)  Electric Lime
#0eb7ec  rgb(14, 183, 236)  hsl(194, 89%, 49%)  Deep Sky Blue