#8f1e7f ≈ Mardi Gras
#8f1e7f is a color from the magenta family, with low lightness and moderate saturation. In the RGB model it is made of 56.08% red, 11.76% green and 49.8% blue; printed in CMYK it uses 0% cyan, 79.02% magenta, 11.19% yellow and 43.92% black. Its hue angle is 308.5°, with 65.32% saturation and 33.92% 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 7.89:1 (WCAG AAA). The closest named color is Mardi Gras (#880085), ΔE 3.88.
Description generated from the measured properties of this color.
| HEX | |
|---|---|
| RGB | |
| RGB percent | |
| CMY | |
| CMYK | |
| HSL | |
| HSV / HSB | |
| Web safe | #993366 |
| CIE-LAB | |
| XYZ | |
| xyY | |
| CIE-LCH | |
| CIE-LUV | |
| Hunter-Lab | |
| OKLab | |
| Binary | |
| Decimal | |
| Relative luminance | 0.083 |
Shades
#8f1e7f mixed progressively with black.
Tints
#8f1e7f mixed progressively with white.
Tones
#8f1e7f mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-8f1e7f {
color: #8f1e7f;
}
.bg-8f1e7f {
background-color: #8f1e7f;
color: #ffffff;
}
.border-8f1e7f {
border: 2px solid #8f1e7f;
}
:root {
--color-primary: #8f1e7f;
--color-primary-rgb: 143 30 127;
--color-primary-hsl: 309 65% 34%;
}
.gradient-8f1e7f {
background: linear-gradient(135deg, #8f1e7f, #8f1e46);
}
.shadow-8f1e7f {
box-shadow: 0 8px 24px rgb(143 30 127 / 0.35);
}
Mardi Gras
#8f1e7f rgb(143, 30, 127) hsl(309, 65%, 34%) Mardi Gras
#1e8f2e rgb(30, 143, 46) hsl(129, 65%, 34%) Forest Green
#7f8f1e rgb(127, 143, 30) hsl(69, 65%, 34%) Olive Drab
#1e7f8f rgb(30, 127, 143) hsl(189, 65%, 34%) Teal Blue