#8a1981 ≈ Mardi Gras
#8a1981 is a color from the magenta family, with low lightness and moderate saturation. In the RGB model it is made of 54.12% red, 9.8% green and 50.59% blue; printed in CMYK it uses 0% cyan, 81.88% magenta, 6.52% yellow and 45.88% black. Its hue angle is 304.78°, with 69.33% saturation and 31.96% 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.28:1 (WCAG AAA). The closest named color is Mardi Gras (#880085), ΔE 2.32.
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.0768 |
Shades
#8a1981 mixed progressively with black.
Tints
#8a1981 mixed progressively with white.
Tones
#8a1981 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-8a1981 {
color: #8a1981;
}
.bg-8a1981 {
background-color: #8a1981;
color: #ffffff;
}
.border-8a1981 {
border: 2px solid #8a1981;
}
:root {
--color-primary: #8a1981;
--color-primary-rgb: 138 25 129;
--color-primary-hsl: 305 69% 32%;
}
.gradient-8a1981 {
background: linear-gradient(135deg, #8a1981, #8a1948);
}
.shadow-8a1981 {
box-shadow: 0 8px 24px rgb(138 25 129 / 0.35);
}
Mardi Gras
#8a1981 rgb(138, 25, 129) hsl(305, 69%, 32%) Mardi Gras
#198a22 rgb(25, 138, 34) hsl(125, 69%, 32%) Forest Green
#818a19 rgb(129, 138, 25) hsl(65, 69%, 32%) Olive
#19818a rgb(25, 129, 138) hsl(185, 69%, 32%) Teal