#EA0CB4

#ea0cb4 ≈ Shocking Pink

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

#ea0cb4 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 70.59% blue; printed in CMYK it uses 0% cyan, 94.87% magenta, 23.08% yellow and 8.24% black. Its hue angle is 314.59°, 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.21:1 (WCAG AA). The closest named color is Shocking Pink (#fc0fc0), ΔE 3.83.

Description generated from the measured properties of this color.

Conversions of #ea0cb4 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.2105

Readable text 4.03:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕
Readable text 5.21:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓

Achromatopsia #7f7f7f ≈ 0.003% of males
Achromatomaly #b46497 ≈ 0.001% of males
Protanopia #3569b8 ≈ 1.01% of males
Deuteranopia #7c8ab0 ≈ 1.27% of males
Tritanopia #f9126a ≈ 0.0001% of males
Protanomaly #a053b6 ≈ 1.08% of males
Deuteranomaly #b36db1 ≈ 4.63% of males
Tritanomaly #f3108e ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

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

Shocking Pink
#ea0cb4  rgb(234, 12, 180)  hsl(315, 90%, 48%)  Shocking Pink
#0cea42  rgb(12, 234, 66)  hsl(135, 90%, 48%)  Malachite
#b4ea0c  rgb(180, 234, 12)  hsl(75, 90%, 48%)  Spring Bud
#0cb4ea  rgb(12, 180, 234)  hsl(195, 90%, 48%)  Deep Sky Blue