#ba229c ≈ Medium Violet Red
#ba229c 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.18% blue; printed in CMYK it uses 0% cyan, 81.72% magenta, 16.13% yellow and 27.06% black. Its hue angle is 311.84°, 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.53:1 (WCAG AA). The closest named color is Medium Violet Red (#c71585), ΔE 5.86.
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.1398 |
Shades
#ba229c mixed progressively with black.
Tints
#ba229c mixed progressively with white.
Tones
#ba229c mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-ba229c {
color: #ba229c;
}
.bg-ba229c {
background-color: #ba229c;
color: #ffffff;
}
.border-ba229c {
border: 2px solid #ba229c;
}
:root {
--color-primary: #ba229c;
--color-primary-rgb: 186 34 156;
--color-primary-hsl: 312 69% 43%;
}
.gradient-ba229c {
background: linear-gradient(135deg, #ba229c, #ba2250);
}
.shadow-ba229c {
box-shadow: 0 8px 24px rgb(186 34 156 / 0.35);
}
Medium Violet Red
#ba229c rgb(186, 34, 156) hsl(312, 69%, 43%) Medium Violet Red
#22ba40 rgb(34, 186, 64) hsl(132, 69%, 43%) Kelly Green
#9cba22 rgb(156, 186, 34) hsl(72, 69%, 43%) Apple Green
#229cba rgb(34, 156, 186) hsl(192, 69%, 43%) Bondi Blue