#EA0CB8

#ea0cb8 ≈ Shocking Pink

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

#ea0cb8 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 72.16% blue; printed in CMYK it uses 0% cyan, 94.87% magenta, 21.37% yellow and 8.24% black. Its hue angle is 313.51°, 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.24:1 (WCAG AA). The closest named color is Shocking Pink (#fc0fc0), ΔE 3.71.

Description generated from the measured properties of this color.

Conversions of #ea0cb8 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.2122

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

Achromatopsia #7f7f7f ≈ 0.003% of males
Achromatomaly #b46499 ≈ 0.001% of males
Protanopia #316abc ≈ 1.01% of males
Deuteranopia #7a8ab4 ≈ 1.27% of males
Tritanopia #f9196d ≈ 0.0001% of males
Protanomaly #9f54ba ≈ 1.08% of males
Deuteranomaly #b26eb5 ≈ 4.63% of males
Tritanomaly #f31591 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

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

Shocking Pink
#ea0cb8  rgb(234, 12, 184)  hsl(314, 90%, 48%)  Shocking Pink
#0cea3e  rgb(12, 234, 62)  hsl(134, 90%, 48%)  Malachite
#b8ea0c  rgb(184, 234, 12)  hsl(74, 90%, 48%)  Electric Lime
#0cb8ea  rgb(12, 184, 234)  hsl(194, 90%, 48%)  Deep Sky Blue