#E002A2

#e002a2 ≈ Medium Violet Red

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

#e002a2 is a color from the magenta family, with medium lightness and vivid saturation. In the RGB model it is made of 87.84% red, 0.78% green and 63.53% blue; printed in CMYK it uses 0% cyan, 99.11% magenta, 27.68% yellow and 12.16% black. Its hue angle is 316.76°, with 98.23% saturation and 44.31% 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.7:1 (WCAG AA). The closest named color is Medium Violet Red (#c71585), ΔE 6.28.

Description generated from the measured properties of this color.

Conversions of #e002a2 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.185

Readable text 4.47:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕
Readable text 4.7:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓

Achromatopsia #777777 ≈ 0.003% of males
Achromatomaly #ab5e8a ≈ 0.001% of males
Protanopia #3862a5 ≈ 1.01% of males
Deuteranopia #79839e ≈ 1.27% of males
Tritanopia #f0005f ≈ 0.0001% of males
Protanomaly #9a4da4 ≈ 1.08% of males
Deuteranomaly #ac67a0 ≈ 4.63% of males
Tritanomaly #ea007f ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

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

Medium Violet Red
#e002a2  rgb(224, 2, 162)  hsl(317, 98%, 44%)  Medium Violet Red
#02e040  rgb(2, 224, 64)  hsl(137, 98%, 44%)  Malachite
#a2e002  rgb(162, 224, 2)  hsl(77, 98%, 44%)  Yellow Green
#02a2e0  rgb(2, 162, 224)  hsl(197, 98%, 44%)  Carolina Blue