#EA0CD8

#ea0cd8 ≈ Shocking Pink

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

#ea0cd8 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 84.71% blue; printed in CMYK it uses 0% cyan, 94.87% magenta, 7.69% yellow and 8.24% black. Its hue angle is 304.86°, 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.54:1 (WCAG AA). The closest named color is Shocking Pink (#fc0fc0), ΔE 5.79.

Description generated from the measured properties of this color.

Conversions of #ea0cd8 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.2271

Readable text 3.79:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕
Readable text 5.54:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓

Achromatopsia #838383 ≈ 0.003% of males
Achromatomaly #b668ac ≈ 0.001% of males
Protanopia #0071dc ≈ 1.01% of males
Deuteranopia #6c8dd4 ≈ 1.27% of males
Tritanopia #f53980 ≈ 0.0001% of males
Protanomaly #9a59db ≈ 1.08% of males
Deuteranomaly #ad70d5 ≈ 4.63% of males
Tritanomaly #f02caa ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

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

Shocking Pink
#ea0cd8  rgb(234, 12, 216)  hsl(305, 90%, 48%)  Shocking Pink
#0cea1e  rgb(12, 234, 30)  hsl(125, 90%, 48%)  Lime
#d8ea0c  rgb(216, 234, 12)  hsl(65, 90%, 48%)  Pear
#0cd8ea  rgb(12, 216, 234)  hsl(185, 90%, 48%)  Dark Turquoise