#BA2EA2

#ba2ea2 ≈ Medium Violet Red

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

#ba2ea2 is a color from the magenta family, with medium lightness and strong saturation. In the RGB model it is made of 72.94% red, 18.04% green and 63.53% blue; printed in CMYK it uses 0% cyan, 75.27% magenta, 12.9% yellow and 27.06% black. Its hue angle is 310.29°, with 60.34% saturation and 45.49% 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 brand accents. White text on this color reaches a contrast ratio of 5.25:1 (WCAG AA). The closest named color is Medium Violet Red (#c71585), ΔE 6.71.

Description generated from the measured properties of this color.

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

Readable text 5.25:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓
Readable text 4:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕

Achromatopsia #6c6c6c ≈ 0.003% of males
Achromatomaly #925985 ≈ 0.001% of males
Protanopia #305fa5 ≈ 1.01% of males
Deuteranopia #62739f ≈ 1.27% of males
Tritanopia #c43965 ≈ 0.0001% of males
Protanomaly #804fa4 ≈ 1.08% of males
Deuteranomaly #8e5fa0 ≈ 4.63% of males
Tritanomaly #c03582 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-ba2ea2 {
  color: #ba2ea2;
}
Background
.bg-ba2ea2 {
  background-color: #ba2ea2;
  color: #ffffff;
}
Border
.border-ba2ea2 {
  border: 2px solid #ba2ea2;
}
CSS variables
:root {
  --color-primary: #ba2ea2;
  --color-primary-rgb: 186 46 162;
  --color-primary-hsl: 310 60% 45%;
}
Gradient
.gradient-ba2ea2 {
  background: linear-gradient(135deg, #ba2ea2, #ba2e5c);
}
Colored shadow
.shadow-ba2ea2 {
  box-shadow: 0 8px 24px rgb(186 46 162 / 0.35);
}

Medium Violet Red
#ba2ea2  rgb(186, 46, 162)  hsl(310, 60%, 45%)  Medium Violet Red
#2eba46  rgb(46, 186, 70)  hsl(130, 60%, 45%)  Kelly Green
#a2ba2e  rgb(162, 186, 46)  hsl(70, 60%, 45%)  Apple Green
#2ea2ba  rgb(46, 162, 186)  hsl(190, 60%, 45%)  Bondi Blue