#ba178d ≈ Medium Violet Red
#ba178d is a color from the magenta family, with medium lightness and strong saturation. In the RGB model it is made of 72.94% red, 9.02% green and 55.29% blue; printed in CMYK it uses 0% cyan, 87.63% magenta, 24.19% yellow and 27.06% black. Its hue angle is 316.56°, with 77.99% saturation and 40.98% 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.84:1 (WCAG AA). The closest named color is Medium Violet Red (#c71585), ΔE 3.81.
Description generated from the measured properties of this color.
| HEX | |
|---|---|
| RGB | |
| RGB percent | |
| CMY | |
| CMYK | |
| HSL | |
| HSV / HSB | |
| Web safe | #cc0099 |
| CIE-LAB | |
| XYZ | |
| xyY | |
| CIE-LCH | |
| CIE-LUV | |
| Hunter-Lab | |
| OKLab | |
| Binary | |
| Decimal | |
| Relative luminance | 0.1297 |
Shades
#ba178d mixed progressively with black.
Tints
#ba178d mixed progressively with white.
Tones
#ba178d mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-ba178d {
color: #ba178d;
}
.bg-ba178d {
background-color: #ba178d;
color: #ffffff;
}
.border-ba178d {
border: 2px solid #ba178d;
}
:root {
--color-primary: #ba178d;
--color-primary-rgb: 186 23 141;
--color-primary-hsl: 317 78% 41%;
}
.gradient-ba178d {
background: linear-gradient(135deg, #ba178d, #ba173c);
}
.shadow-ba178d {
box-shadow: 0 8px 24px rgb(186 23 141 / 0.35);
}
Medium Violet Red
#ba178d rgb(186, 23, 141) hsl(317, 78%, 41%) Medium Violet Red
#17ba44 rgb(23, 186, 68) hsl(137, 78%, 41%) Kelly Green
#8dba17 rgb(141, 186, 23) hsl(77, 78%, 41%) Apple Green
#178dba rgb(23, 141, 186) hsl(197, 78%, 41%) Bondi Blue