#b21189 ≈ Medium Violet Red
#b21189 is a color from the magenta family, with low lightness and strong saturation. In the RGB model it is made of 69.8% red, 6.67% green and 53.73% blue; printed in CMYK it uses 0% cyan, 90.45% magenta, 23.03% yellow and 30.2% black. Its hue angle is 315.28°, with 82.56% saturation and 38.24% 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 call-to-action buttons. White text on this color reaches a contrast ratio of 6.3:1 (WCAG AA). The closest named color is Medium Violet Red (#c71585), ΔE 5.3.
Description generated from the measured properties of this color.
| HEX | |
|---|---|
| RGB | |
| RGB percent | |
| CMY | |
| CMYK | |
| HSL | |
| HSV / HSB | |
| Web safe | #990099 |
| CIE-LAB | |
| XYZ | |
| xyY | |
| CIE-LCH | |
| CIE-LUV | |
| Hunter-Lab | |
| OKLab | |
| Binary | |
| Decimal | |
| Relative luminance | 0.1167 |
Shades
#b21189 mixed progressively with black.
Tints
#b21189 mixed progressively with white.
Tones
#b21189 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-b21189 {
color: #b21189;
}
.bg-b21189 {
background-color: #b21189;
color: #ffffff;
}
.border-b21189 {
border: 2px solid #b21189;
}
:root {
--color-primary: #b21189;
--color-primary-rgb: 178 17 137;
--color-primary-hsl: 315 83% 38%;
}
.gradient-b21189 {
background: linear-gradient(135deg, #b21189, #b21139);
}
.shadow-b21189 {
box-shadow: 0 8px 24px rgb(178 17 137 / 0.35);
}
Medium Violet Red
#b21189 rgb(178, 17, 137) hsl(315, 83%, 38%) Medium Violet Red
#11b23a rgb(17, 178, 58) hsl(135, 83%, 38%) Kelly Green
#89b211 rgb(137, 178, 17) hsl(75, 83%, 38%) Apple Green
#1189b2 rgb(17, 137, 178) hsl(195, 83%, 38%) Bondi Blue