#b21795 ≈ Medium Violet Red
#b21795 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 58.43% blue; printed in CMYK it uses 0% cyan, 87.08% magenta, 16.29% yellow and 30.2% black. Its hue angle is 311.23°, 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.09:1 (WCAG AA). The closest named color is Medium Violet Red (#c71585), ΔE 6.54.
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.1225 |
Shades
#b21795 mixed progressively with black.
Tints
#b21795 mixed progressively with white.
Tones
#b21795 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-b21795 {
color: #b21795;
}
.bg-b21795 {
background-color: #b21795;
color: #ffffff;
}
.border-b21795 {
border: 2px solid #b21795;
}
:root {
--color-primary: #b21795;
--color-primary-rgb: 178 23 149;
--color-primary-hsl: 311 77% 39%;
}
.gradient-b21795 {
background: linear-gradient(135deg, #b21795, #b21747);
}
.shadow-b21795 {
box-shadow: 0 8px 24px rgb(178 23 149 / 0.35);
}
Medium Violet Red
#b21795 rgb(178, 23, 149) hsl(311, 77%, 39%) Medium Violet Red
#17b234 rgb(23, 178, 52) hsl(131, 77%, 39%) Kelly Green
#95b217 rgb(149, 178, 23) hsl(71, 77%, 39%) Apple Green
#1795b2 rgb(23, 149, 178) hsl(191, 77%, 39%) Bondi Blue