#ba2e9f ≈ Medium Violet Red
#ba2e9f 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 62.35% blue; printed in CMYK it uses 0% cyan, 75.27% magenta, 14.52% yellow and 27.06% black. Its hue angle is 311.57°, 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.28:1 (WCAG AA). The closest named color is Medium Violet Red (#c71585), ΔE 6.2.
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.149 |
Shades
#ba2e9f mixed progressively with black.
Tints
#ba2e9f mixed progressively with white.
Tones
#ba2e9f mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-ba2e9f {
color: #ba2e9f;
}
.bg-ba2e9f {
background-color: #ba2e9f;
color: #ffffff;
}
.border-ba2e9f {
border: 2px solid #ba2e9f;
}
:root {
--color-primary: #ba2e9f;
--color-primary-rgb: 186 46 159;
--color-primary-hsl: 312 60% 45%;
}
.gradient-ba2e9f {
background: linear-gradient(135deg, #ba2e9f, #ba2e59);
}
.shadow-ba2e9f {
box-shadow: 0 8px 24px rgb(186 46 159 / 0.35);
}
Medium Violet Red
#ba2e9f rgb(186, 46, 159) hsl(312, 60%, 45%) Medium Violet Red
#2eba49 rgb(46, 186, 73) hsl(132, 60%, 45%) Kelly Green
#9fba2e rgb(159, 186, 46) hsl(72, 60%, 45%) Apple Green
#2e9fba rgb(46, 159, 186) hsl(192, 60%, 45%) Bondi Blue