#b21797 ≈ Medium Violet Red
#b21797 is a color from the magenta family, with low lightness and strong saturation. In the RGB model it is made of 69.8% red, 9.02% green and 59.22% blue; printed in CMYK it uses 0% cyan, 87.08% magenta, 15.17% yellow and 30.2% black. Its hue angle is 310.45°, with 77.11% saturation and 39.41% 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 6.07:1 (WCAG AA). The closest named color is Medium Violet Red (#c71585), ΔE 6.82.
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.1231 |
Shades
#b21797 mixed progressively with black.
Tints
#b21797 mixed progressively with white.
Tones
#b21797 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-b21797 {
color: #b21797;
}
.bg-b21797 {
background-color: #b21797;
color: #ffffff;
}
.border-b21797 {
border: 2px solid #b21797;
}
:root {
--color-primary: #b21797;
--color-primary-rgb: 178 23 151;
--color-primary-hsl: 310 77% 39%;
}
.gradient-b21797 {
background: linear-gradient(135deg, #b21797, #b2174a);
}
.shadow-b21797 {
box-shadow: 0 8px 24px rgb(178 23 151 / 0.35);
}
Medium Violet Red
#b21797 rgb(178, 23, 151) hsl(310, 77%, 39%) Medium Violet Red
#17b232 rgb(23, 178, 50) hsl(130, 77%, 39%) Kelly Green
#97b217 rgb(151, 178, 23) hsl(70, 77%, 39%) Apple Green
#1797b2 rgb(23, 151, 178) hsl(190, 77%, 39%) Bondi Blue