#EA0CD2

#ea0cd2 ≈ Shocking Pink

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

#ea0cd2 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 82.35% blue; printed in CMYK it uses 0% cyan, 94.87% magenta, 10.26% yellow and 8.24% black. Its hue angle is 306.49°, 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.48:1 (WCAG AA). The closest named color is Shocking Pink (#fc0fc0), ΔE 5.16.

Description generated from the measured properties of this color.

Conversions of #ea0cd2 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.2241

Readable text 3.83:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕
Readable text 5.48:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓

Achromatopsia #828282 ≈ 0.003% of males
Achromatomaly #b567a8 ≈ 0.001% of males
Protanopia #0070d6 ≈ 1.01% of males
Deuteranopia #6f8cce ≈ 1.27% of males
Tritanopia #f6347c ≈ 0.0001% of males
Protanomaly #9b58d5 ≈ 1.08% of males
Deuteranomaly #ae6fcf ≈ 4.63% of males
Tritanomaly #f129a6 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

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

Shocking Pink
#ea0cd2  rgb(234, 12, 210)  hsl(306, 90%, 48%)  Shocking Pink
#0cea24  rgb(12, 234, 36)  hsl(126, 90%, 48%)  Lime
#d2ea0c  rgb(210, 234, 12)  hsl(66, 90%, 48%)  Pear
#0cd2ea  rgb(12, 210, 234)  hsl(186, 90%, 48%)  Dark Turquoise