#ba2c8b ≈ Medium Violet Red
#ba2c8b is a color from the magenta family, with medium lightness and strong saturation. In the RGB model it is made of 72.94% red, 17.25% green and 54.51% blue; printed in CMYK it uses 0% cyan, 76.34% magenta, 25.27% yellow and 27.06% black. Its hue angle is 319.86°, with 61.74% saturation and 45.1% 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.5:1 (WCAG AA). The closest named color is Medium Violet Red (#c71585), ΔE 2.9.
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.141 |
Shades
#ba2c8b mixed progressively with black.
Tints
#ba2c8b mixed progressively with white.
Tones
#ba2c8b mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-ba2c8b {
color: #ba2c8b;
}
.bg-ba2c8b {
background-color: #ba2c8b;
color: #ffffff;
}
.border-ba2c8b {
border: 2px solid #ba2c8b;
}
:root {
--color-primary: #ba2c8b;
--color-primary-rgb: 186 44 139;
--color-primary-hsl: 320 62% 45%;
}
.gradient-ba2c8b {
background: linear-gradient(135deg, #ba2c8b, #ba2c44);
}
.shadow-ba2c8b {
box-shadow: 0 8px 24px rgb(186 44 139 / 0.35);
}
Medium Violet Red
#ba2c8b rgb(186, 44, 139) hsl(320, 62%, 45%) Medium Violet Red
#2cba5b rgb(44, 186, 91) hsl(140, 62%, 45%) Medium Sea Green
#8bba2c rgb(139, 186, 44) hsl(80, 62%, 45%) Apple Green
#2c8bba rgb(44, 139, 186) hsl(200, 62%, 45%) Steel Blue