#EA40BC

#ea40bc ≈ Shocking Pink

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

#ea40bc 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 73.73% blue; printed in CMYK it uses 0% cyan, 72.65% magenta, 19.66% yellow and 8.24% black. Its hue angle is 316.24°, 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.96:1 (WCAG AA). The closest named color is Shocking Pink (#fc0fc0), ΔE 2.92.

Description generated from the measured properties of this color.

Conversions of #ea40bc 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.2479

Readable text 3.52:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕
Readable text 5.96:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓

Achromatopsia #888888 ≈ 0.003% of males
Achromatomaly #b872a0 ≈ 0.001% of males
Protanopia #4e77bf ≈ 1.01% of males
Deuteranopia #8492b8 ≈ 1.27% of males
Tritanopia #f84479 ≈ 0.0001% of males
Protanomaly #a565be ≈ 1.08% of males
Deuteranomaly #b67aba ≈ 4.63% of males
Tritanomaly #f34299 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

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

Shocking Pink
#ea40bc  rgb(234, 64, 188)  hsl(316, 80%, 58%)  Shocking Pink
#40ea6e  rgb(64, 234, 110)  hsl(136, 80%, 58%)  Malachite
#bcea40  rgb(188, 234, 64)  hsl(76, 80%, 58%)  Inchworm
#40bcea  rgb(64, 188, 234)  hsl(196, 80%, 58%)  Deep Sky Blue