#E400A2

#e400a2 ≈ Shocking Pink

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

#e400a2 is a color from the magenta family, with medium lightness and vivid saturation. In the RGB model it is made of 89.41% red, 0% green and 63.53% blue; printed in CMYK it uses 0% cyan, 100% magenta, 28.95% yellow and 10.59% black. Its hue angle is 317.37°, with 100% saturation and 44.71% 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 4.82:1 (WCAG AA). The closest named color is Shocking Pink (#fc0fc0), ΔE 6.41.

Description generated from the measured properties of this color.

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

Readable text 4.36:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕
Readable text 4.82:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓

Achromatopsia #797979 ≈ 0.003% of males
Achromatomaly #ae5f8b ≈ 0.001% of males
Protanopia #3b63a5 ≈ 1.01% of males
Deuteranopia #7c859e ≈ 1.27% of males
Tritanopia #f5005f ≈ 0.0001% of males
Protanomaly #9d4da4 ≈ 1.08% of males
Deuteranomaly #b0699f ≈ 4.63% of males
Tritanomaly #ee007f ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-e400a2 {
  color: #e400a2;
}
Background
.bg-e400a2 {
  background-color: #e400a2;
  color: #000000;
}
Border
.border-e400a2 {
  border: 2px solid #e400a2;
}
CSS variables
:root {
  --color-primary: #e400a2;
  --color-primary-rgb: 228 0 162;
  --color-primary-hsl: 317 100% 45%;
}
Gradient
.gradient-e400a2 {
  background: linear-gradient(135deg, #e400a2, #e40030);
}
Colored shadow
.shadow-e400a2 {
  box-shadow: 0 8px 24px rgb(228 0 162 / 0.35);
}

Shocking Pink
#e400a2  rgb(228, 0, 162)  hsl(317, 100%, 45%)  Shocking Pink
#00e442  rgb(0, 228, 66)  hsl(137, 100%, 45%)  Malachite
#a2e400  rgb(162, 228, 0)  hsl(77, 100%, 45%)  Spring Bud
#00a2e4  rgb(0, 162, 228)  hsl(197, 100%, 45%)  Carolina Blue