#8a166f ≈ Mardi Gras
#8a166f is a color from the magenta family, with low lightness and moderate saturation. In the RGB model it is made of 54.12% red, 8.63% green and 43.53% blue; printed in CMYK it uses 0% cyan, 84.06% magenta, 19.57% yellow and 45.88% black. Its hue angle is 313.97°, with 72.5% 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.66:1 (WCAG AAA). The closest named color is Mardi Gras (#880085), ΔE 5.43.
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.0712 |
Shades
#8a166f mixed progressively with black.
Tints
#8a166f mixed progressively with white.
Tones
#8a166f mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-8a166f {
color: #8a166f;
}
.bg-8a166f {
background-color: #8a166f;
color: #ffffff;
}
.border-8a166f {
border: 2px solid #8a166f;
}
:root {
--color-primary: #8a166f;
--color-primary-rgb: 138 22 111;
--color-primary-hsl: 314 73% 31%;
}
.gradient-8a166f {
background: linear-gradient(135deg, #8a166f, #8a1635);
}
.shadow-8a166f {
box-shadow: 0 8px 24px rgb(138 22 111 / 0.35);
}
Mardi Gras
#8a166f rgb(138, 22, 111) hsl(314, 73%, 31%) Mardi Gras
#168a31 rgb(22, 138, 49) hsl(134, 73%, 31%) Forest Green
#6f8a16 rgb(111, 138, 22) hsl(74, 73%, 31%) Olive Drab
#166f8a rgb(22, 111, 138) hsl(194, 73%, 31%) Teal Blue