#ba229e ≈ Medium Violet Red
#ba229e is a color from the magenta family, with medium lightness and strong saturation. In the RGB model it is made of 72.94% red, 13.33% green and 61.96% blue; printed in CMYK it uses 0% cyan, 81.72% magenta, 15.05% yellow and 27.06% black. Its hue angle is 311.05°, with 69.09% saturation and 43.14% 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.51: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.1405 |
Shades
#ba229e mixed progressively with black.
Tints
#ba229e mixed progressively with white.
Tones
#ba229e mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-ba229e {
color: #ba229e;
}
.bg-ba229e {
background-color: #ba229e;
color: #ffffff;
}
.border-ba229e {
border: 2px solid #ba229e;
}
:root {
--color-primary: #ba229e;
--color-primary-rgb: 186 34 158;
--color-primary-hsl: 311 69% 43%;
}
.gradient-ba229e {
background: linear-gradient(135deg, #ba229e, #ba2252);
}
.shadow-ba229e {
box-shadow: 0 8px 24px rgb(186 34 158 / 0.35);
}
Medium Violet Red
#ba229e rgb(186, 34, 158) hsl(311, 69%, 43%) Medium Violet Red
#22ba3e rgb(34, 186, 62) hsl(131, 69%, 43%) Kelly Green
#9eba22 rgb(158, 186, 34) hsl(71, 69%, 43%) Apple Green
#229eba rgb(34, 158, 186) hsl(191, 69%, 43%) Bondi Blue