#EA40C5

#ea40c5 ≈ Shocking Pink

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

#ea40c5 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 77.25% blue; printed in CMYK it uses 0% cyan, 72.65% magenta, 15.81% yellow and 8.24% black. Its hue angle is 313.06°, 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.04:1 (WCAG AA). The closest named color is Shocking Pink (#fc0fc0), ΔE 3.24.

Description generated from the measured properties of this color.

Conversions of #ea40c5 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.2519

Readable text 3.48:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕
Readable text 6.04:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓

Achromatopsia #898989 ≈ 0.003% of males
Achromatomaly #b873a5 ≈ 0.001% of males
Protanopia #4879c9 ≈ 1.01% of males
Deuteranopia #8193c1 ≈ 1.27% of males
Tritanopia #f7487e ≈ 0.0001% of males
Protanomaly #a367c7 ≈ 1.08% of males
Deuteranomaly #b57ac3 ≈ 4.63% of males
Tritanomaly #f2459f ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

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

Shocking Pink
#ea40c5  rgb(234, 64, 197)  hsl(313, 80%, 58%)  Shocking Pink
#40ea65  rgb(64, 234, 101)  hsl(133, 80%, 58%)  Malachite
#c5ea40  rgb(197, 234, 64)  hsl(73, 80%, 58%)  Pear
#40c5ea  rgb(64, 197, 234)  hsl(193, 80%, 58%)  Sky Blue