#ba2e9e ≈ Medium Violet Red
#ba2e9e 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 61.96% blue; printed in CMYK it uses 0% cyan, 75.27% magenta, 15.05% yellow and 27.06% black. Its hue angle is 312°, 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.29:1 (WCAG AA). The closest named color is Medium Violet Red (#c71585), ΔE 6.02.
Description generated from the measured properties of this color.
| 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 luminance | 0.1486 |
Shades
#ba2e9e mixed progressively with black.
Tints
#ba2e9e mixed progressively with white.
Tones
#ba2e9e mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-ba2e9e {
color: #ba2e9e;
}
.bg-ba2e9e {
background-color: #ba2e9e;
color: #ffffff;
}
.border-ba2e9e {
border: 2px solid #ba2e9e;
}
:root {
--color-primary: #ba2e9e;
--color-primary-rgb: 186 46 158;
--color-primary-hsl: 312 60% 45%;
}
.gradient-ba2e9e {
background: linear-gradient(135deg, #ba2e9e, #ba2e58);
}
.shadow-ba2e9e {
box-shadow: 0 8px 24px rgb(186 46 158 / 0.35);
}
Medium Violet Red
#ba2e9e rgb(186, 46, 158) hsl(312, 60%, 45%) Medium Violet Red
#2eba4a rgb(46, 186, 74) hsl(132, 60%, 45%) Kelly Green
#9eba2e rgb(158, 186, 46) hsl(72, 60%, 45%) Apple Green
#2e9eba rgb(46, 158, 186) hsl(192, 60%, 45%) Bondi Blue