#EA40CC

#ea40cc ≈ Shocking Pink

  • magenta
  • Lightness: medium
  • Saturation: strong
  • Balanced

#ea40cc is a color from the magenta family, with medium lightness and strong saturation. In the RGB model it is made of 91.76% red, 25.1% green and 80% blue; printed in CMYK it uses 0% cyan, 72.65% magenta, 12.82% yellow and 8.24% black. Its hue angle is 310.59°, with 80.19% saturation and 58.43% 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 6.1:1 (WCAG AA). The closest named color is Shocking Pink (#fc0fc0), ΔE 3.89.

Description generated from the measured properties of this color.

Conversions of #ea40cc into other color spaces
HEX
RGB
RGB percent
CMY
CMYK
HSL
HSV / HSB
Web safe#ff33cc
CIE-LAB
XYZ
xyY
CIE-LCH
CIE-LUV
Hunter-Lab
OKLab
Binary
Decimal
Relative luminance0.2552

Readable text 3.44:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕
Readable text 6.1:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓

Achromatopsia #8a8a8a ≈ 0.003% of males
Achromatomaly #b874a9 ≈ 0.001% of males
Protanopia #437ad0 ≈ 1.01% of males
Deuteranopia #7e93c8 ≈ 1.27% of males
Tritanopia #f64c82 ≈ 0.0001% of males
Protanomaly #a268ce ≈ 1.08% of males
Deuteranomaly #b47bca ≈ 4.63% of males
Tritanomaly #f148a5 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-ea40cc {
  color: #ea40cc;
}
Background
.bg-ea40cc {
  background-color: #ea40cc;
  color: #000000;
}
Border
.border-ea40cc {
  border: 2px solid #ea40cc;
}
CSS variables
:root {
  --color-primary: #ea40cc;
  --color-primary-rgb: 234 64 204;
  --color-primary-hsl: 311 80% 58%;
}
Gradient
.gradient-ea40cc {
  background: linear-gradient(135deg, #ea40cc, #ea4077);
}
Colored shadow
.shadow-ea40cc {
  box-shadow: 0 8px 24px rgb(234 64 204 / 0.35);
}

Shocking Pink
#ea40cc  rgb(234, 64, 204)  hsl(311, 80%, 58%)  Shocking Pink
#40ea5e  rgb(64, 234, 94)  hsl(131, 80%, 58%)  Malachite
#ccea40  rgb(204, 234, 64)  hsl(71, 80%, 58%)  Pear
#40ccea  rgb(64, 204, 234)  hsl(191, 80%, 58%)  Sky Blue