#871981 ≈ Mardi Gras
#871981 is a color from the magenta family, with low lightness and moderate saturation. In the RGB model it is made of 52.94% red, 9.8% green and 50.59% blue; printed in CMYK it uses 0% cyan, 81.48% magenta, 4.44% yellow and 47.06% black. Its hue angle is 303.27°, with 68.75% saturation and 31.37% 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 corporate identities. White text on this color reaches a contrast ratio of 8.45:1 (WCAG AAA). The closest named color is Mardi Gras (#880085), ΔE 1.95.
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.0743 |
Shades
#871981 mixed progressively with black.
Tints
#871981 mixed progressively with white.
Tones
#871981 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-871981 {
color: #871981;
}
.bg-871981 {
background-color: #871981;
color: #ffffff;
}
.border-871981 {
border: 2px solid #871981;
}
:root {
--color-primary: #871981;
--color-primary-rgb: 135 25 129;
--color-primary-hsl: 303 69% 31%;
}
.gradient-871981 {
background: linear-gradient(135deg, #871981, #87194a);
}
.shadow-871981 {
box-shadow: 0 8px 24px rgb(135 25 129 / 0.35);
}
Mardi Gras
#871981 rgb(135, 25, 129) hsl(303, 69%, 31%) Mardi Gras
#19871f rgb(25, 135, 31) hsl(123, 69%, 31%) Forest Green
#818719 rgb(129, 135, 25) hsl(63, 69%, 31%) Olive
#198187 rgb(25, 129, 135) hsl(183, 69%, 31%) Teal