#ba2ea1 ≈ Medium Violet Red
#ba2ea1 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.14% blue; printed in CMYK it uses 0% cyan, 75.27% magenta, 13.44% yellow and 27.06% black. Its hue angle is 310.71°, 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.26:1 (WCAG AA). The closest named color is Medium Violet Red (#c71585), ΔE 6.54.
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.1497 |
Shades
#ba2ea1 mixed progressively with black.
Tints
#ba2ea1 mixed progressively with white.
Tones
#ba2ea1 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-ba2ea1 {
color: #ba2ea1;
}
.bg-ba2ea1 {
background-color: #ba2ea1;
color: #ffffff;
}
.border-ba2ea1 {
border: 2px solid #ba2ea1;
}
:root {
--color-primary: #ba2ea1;
--color-primary-rgb: 186 46 161;
--color-primary-hsl: 311 60% 45%;
}
.gradient-ba2ea1 {
background: linear-gradient(135deg, #ba2ea1, #ba2e5b);
}
.shadow-ba2ea1 {
box-shadow: 0 8px 24px rgb(186 46 161 / 0.35);
}
Medium Violet Red
#ba2ea1 rgb(186, 46, 161) hsl(311, 60%, 45%) Medium Violet Red
#2eba47 rgb(46, 186, 71) hsl(131, 60%, 45%) Kelly Green
#a1ba2e rgb(161, 186, 46) hsl(71, 60%, 45%) Apple Green
#2ea1ba rgb(46, 161, 186) hsl(191, 60%, 45%) Bondi Blue