#BA0EA2

#ba0ea2 ≈ Medium Violet Red

  • magenta
  • Lightness: low
  • Saturation: strong
  • Balanced

#ba0ea2 is a color from the magenta family, with low lightness and strong saturation. In the RGB model it is made of 72.94% red, 5.49% green and 63.53% blue; printed in CMYK it uses 0% cyan, 92.47% magenta, 12.9% yellow and 27.06% black. Its hue angle is 308.37°, with 86% saturation and 39.22% 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. White text on this color reaches a contrast ratio of 5.72:1 (WCAG AA). The closest named color is Medium Violet Red (#c71585), ΔE 7.3.

Description generated from the measured properties of this color.

Conversions of #ba0ea2 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.1336

Readable text 5.72:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓
Readable text 3.67:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕

Achromatopsia #666666 ≈ 0.003% of males
Achromatomaly #8f5182 ≈ 0.001% of males
Protanopia #1057a5 ≈ 1.01% of males
Deuteranopia #5a6f9f ≈ 1.27% of males
Tritanopia #c4255f ≈ 0.0001% of males
Protanomaly #7b45a4 ≈ 1.08% of males
Deuteranomaly #8b57a0 ≈ 4.63% of males
Tritanomaly #c01e7f ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-ba0ea2 {
  color: #ba0ea2;
}
Background
.bg-ba0ea2 {
  background-color: #ba0ea2;
  color: #ffffff;
}
Border
.border-ba0ea2 {
  border: 2px solid #ba0ea2;
}
CSS variables
:root {
  --color-primary: #ba0ea2;
  --color-primary-rgb: 186 14 162;
  --color-primary-hsl: 308 86% 39%;
}
Gradient
.gradient-ba0ea2 {
  background: linear-gradient(135deg, #ba0ea2, #ba0e4c);
}
Colored shadow
.shadow-ba0ea2 {
  box-shadow: 0 8px 24px rgb(186 14 162 / 0.35);
}

Medium Violet Red
#ba0ea2  rgb(186, 14, 162)  hsl(308, 86%, 39%)  Medium Violet Red
#0eba26  rgb(14, 186, 38)  hsl(128, 86%, 39%)  Kelly Green
#a2ba0e  rgb(162, 186, 14)  hsl(68, 86%, 39%)  Apple Green
#0ea2ba  rgb(14, 162, 186)  hsl(188, 86%, 39%)  Bondi Blue