#8d0c7f ≈ Mardi Gras
#8d0c7f is a color from the magenta family, with low lightness and strong saturation. In the RGB model it is made of 55.29% red, 4.71% green and 49.8% blue; printed in CMYK it uses 0% cyan, 91.49% magenta, 9.93% yellow and 44.71% black. Its hue angle is 306.51°, with 84.31% saturation and 30% 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 2.27.
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.0746 |
Shades
#8d0c7f mixed progressively with black.
Tints
#8d0c7f mixed progressively with white.
Tones
#8d0c7f mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-8d0c7f {
color: #8d0c7f;
}
.bg-8d0c7f {
background-color: #8d0c7f;
color: #ffffff;
}
.border-8d0c7f {
border: 2px solid #8d0c7f;
}
:root {
--color-primary: #8d0c7f;
--color-primary-rgb: 141 12 127;
--color-primary-hsl: 307 84% 30%;
}
.gradient-8d0c7f {
background: linear-gradient(135deg, #8d0c7f, #8d0c3f);
}
.shadow-8d0c7f {
box-shadow: 0 8px 24px rgb(141 12 127 / 0.35);
}
Mardi Gras
#8d0c7f rgb(141, 12, 127) hsl(307, 84%, 30%) Mardi Gras
#0c8d1a rgb(12, 141, 26) hsl(127, 84%, 30%) Forest Green
#7f8d0c rgb(127, 141, 12) hsl(67, 84%, 30%) Olive
#0c7f8d rgb(12, 127, 141) hsl(187, 84%, 30%) Teal