#ba288b ≈ Medium Violet Red
#ba288b is a color from the magenta family, with medium lightness and strong saturation. In the RGB model it is made of 72.94% red, 15.69% green and 54.51% blue; printed in CMYK it uses 0% cyan, 78.49% magenta, 25.27% yellow and 27.06% black. Its hue angle is 319.32°, with 64.6% saturation and 44.31% 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.58:1 (WCAG AA). The closest named color is Medium Violet Red (#c71585), ΔE 2.93.
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.1382 |
Shades
#ba288b mixed progressively with black.
Tints
#ba288b mixed progressively with white.
Tones
#ba288b mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-ba288b {
color: #ba288b;
}
.bg-ba288b {
background-color: #ba288b;
color: #ffffff;
}
.border-ba288b {
border: 2px solid #ba288b;
}
:root {
--color-primary: #ba288b;
--color-primary-rgb: 186 40 139;
--color-primary-hsl: 319 65% 44%;
}
.gradient-ba288b {
background: linear-gradient(135deg, #ba288b, #ba2842);
}
.shadow-ba288b {
box-shadow: 0 8px 24px rgb(186 40 139 / 0.35);
}
Medium Violet Red
#ba288b rgb(186, 40, 139) hsl(319, 65%, 44%) Medium Violet Red
#28ba57 rgb(40, 186, 87) hsl(139, 65%, 44%) Emerald
#8bba28 rgb(139, 186, 40) hsl(79, 65%, 44%) Apple Green
#288bba rgb(40, 139, 186) hsl(199, 65%, 44%) Steel Blue