#8a1978 ≈ Mardi Gras
#8a1978 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 47.06% blue; printed in CMYK it uses 0% cyan, 81.88% magenta, 13.04% yellow and 45.88% black. Its hue angle is 309.56°, 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.43:1 (WCAG AAA). The closest named color is Mardi Gras (#880085), ΔE 3.77.
Description generated from the measured properties of this color.
| HEX | |
|---|---|
| RGB | |
| RGB percent | |
| CMY | |
| CMYK | |
| HSL | |
| HSV / HSB | |
| Web safe | #990066 |
| CIE-LAB | |
| XYZ | |
| xyY | |
| CIE-LCH | |
| CIE-LUV | |
| Hunter-Lab | |
| OKLab | |
| Binary | |
| Decimal | |
| Relative luminance | 0.0745 |
Shades
#8a1978 mixed progressively with black.
Tints
#8a1978 mixed progressively with white.
Tones
#8a1978 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-8a1978 {
color: #8a1978;
}
.bg-8a1978 {
background-color: #8a1978;
color: #ffffff;
}
.border-8a1978 {
border: 2px solid #8a1978;
}
:root {
--color-primary: #8a1978;
--color-primary-rgb: 138 25 120;
--color-primary-hsl: 310 69% 32%;
}
.gradient-8a1978 {
background: linear-gradient(135deg, #8a1978, #8a193f);
}
.shadow-8a1978 {
box-shadow: 0 8px 24px rgb(138 25 120 / 0.35);
}
Mardi Gras
#8a1978 rgb(138, 25, 120) hsl(310, 69%, 32%) Mardi Gras
#198a2b rgb(25, 138, 43) hsl(130, 69%, 32%) Forest Green
#788a19 rgb(120, 138, 25) hsl(70, 69%, 32%) Olive Drab
#19788a rgb(25, 120, 138) hsl(190, 69%, 32%) Teal Blue