#EA40BA

#ea40ba ≈ Shocking Pink

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

#ea40ba 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 72.94% blue; printed in CMYK it uses 0% cyan, 72.65% magenta, 20.51% yellow and 8.24% black. Its hue angle is 316.94°, 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 5.94:1 (WCAG AA). The closest named color is Shocking Pink (#fc0fc0), ΔE 2.96.

Description generated from the measured properties of this color.

Conversions of #ea40ba 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.247

Readable text 3.53:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕
Readable text 5.94:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓

Achromatopsia #888888 ≈ 0.003% of males
Achromatomaly #b8729f ≈ 0.001% of males
Protanopia #4f77bd ≈ 1.01% of males
Deuteranopia #8592b6 ≈ 1.27% of males
Tritanopia #f84378 ≈ 0.0001% of males
Protanomaly #a565bc ≈ 1.08% of males
Deuteranomaly #b67ab8 ≈ 4.63% of males
Tritanomaly #f34297 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

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

Shocking Pink
#ea40ba  rgb(234, 64, 186)  hsl(317, 80%, 58%)  Shocking Pink
#40ea70  rgb(64, 234, 112)  hsl(137, 80%, 58%)  Malachite
#baea40  rgb(186, 234, 64)  hsl(77, 80%, 58%)  Inchworm
#40baea  rgb(64, 186, 234)  hsl(197, 80%, 58%)  Deep Sky Blue