#b21792 ≈ Medium Violet Red
#b21792 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 57.25% blue; printed in CMYK it uses 0% cyan, 87.08% magenta, 17.98% yellow and 30.2% black. Its hue angle is 312.39°, 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.12:1 (WCAG AA). The closest named color is Medium Violet Red (#c71585), ΔE 6.14.
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.1215 |
Shades
#b21792 mixed progressively with black.
Tints
#b21792 mixed progressively with white.
Tones
#b21792 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-b21792 {
color: #b21792;
}
.bg-b21792 {
background-color: #b21792;
color: #ffffff;
}
.border-b21792 {
border: 2px solid #b21792;
}
:root {
--color-primary: #b21792;
--color-primary-rgb: 178 23 146;
--color-primary-hsl: 312 77% 39%;
}
.gradient-b21792 {
background: linear-gradient(135deg, #b21792, #b21744);
}
.shadow-b21792 {
box-shadow: 0 8px 24px rgb(178 23 146 / 0.35);
}
Medium Violet Red
#b21792 rgb(178, 23, 146) hsl(312, 77%, 39%) Medium Violet Red
#17b237 rgb(23, 178, 55) hsl(132, 77%, 39%) Kelly Green
#92b217 rgb(146, 178, 23) hsl(72, 77%, 39%) Apple Green
#1792b2 rgb(23, 146, 178) hsl(192, 77%, 39%) Bondi Blue