#EA0CB7

#ea0cb7 ≈ Shocking Pink

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

#ea0cb7 is a color from the magenta family, with medium lightness and vivid saturation. In the RGB model it is made of 91.76% red, 4.71% green and 71.76% blue; printed in CMYK it uses 0% cyan, 94.87% magenta, 21.79% yellow and 8.24% black. Its hue angle is 313.78°, with 90.24% saturation and 48.24% 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.23:1 (WCAG AA). The closest named color is Shocking Pink (#fc0fc0), ΔE 3.73.

Description generated from the measured properties of this color.

Conversions of #ea0cb7 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.2117

Readable text 4.01:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕
Readable text 5.23:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓

Achromatopsia #7f7f7f ≈ 0.003% of males
Achromatomaly #b46499 ≈ 0.001% of males
Protanopia #326abb ≈ 1.01% of males
Deuteranopia #7b8ab3 ≈ 1.27% of males
Tritanopia #f9176c ≈ 0.0001% of males
Protanomaly #9f54b9 ≈ 1.08% of males
Deuteranomaly #b26eb4 ≈ 4.63% of males
Tritanomaly #f31390 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-ea0cb7 {
  color: #ea0cb7;
}
Background
.bg-ea0cb7 {
  background-color: #ea0cb7;
  color: #000000;
}
Border
.border-ea0cb7 {
  border: 2px solid #ea0cb7;
}
CSS variables
:root {
  --color-primary: #ea0cb7;
  --color-primary-rgb: 234 12 183;
  --color-primary-hsl: 314 90% 48%;
}
Gradient
.gradient-ea0cb7 {
  background: linear-gradient(135deg, #ea0cb7, #ea0c48);
}
Colored shadow
.shadow-ea0cb7 {
  box-shadow: 0 8px 24px rgb(234 12 183 / 0.35);
}

Shocking Pink
#ea0cb7  rgb(234, 12, 183)  hsl(314, 90%, 48%)  Shocking Pink
#0cea3f  rgb(12, 234, 63)  hsl(134, 90%, 48%)  Malachite
#b7ea0c  rgb(183, 234, 12)  hsl(74, 90%, 48%)  Electric Lime
#0cb7ea  rgb(12, 183, 234)  hsl(194, 90%, 48%)  Deep Sky Blue