#ba2ea2 ≈ Medium Violet Red
#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.
| 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.15 |
Shades
#ba2ea2 mixed progressively with black.
Tints
#ba2ea2 mixed progressively with white.
Tones
#ba2ea2 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-ba2ea2 {
color: #ba2ea2;
}
.bg-ba2ea2 {
background-color: #ba2ea2;
color: #ffffff;
}
.border-ba2ea2 {
border: 2px solid #ba2ea2;
}
:root {
--color-primary: #ba2ea2;
--color-primary-rgb: 186 46 162;
--color-primary-hsl: 310 60% 45%;
}
.gradient-ba2ea2 {
background: linear-gradient(135deg, #ba2ea2, #ba2e5c);
}
.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