#8e1d7c ≈ Mardi Gras
#8e1d7c is a color from the magenta family, with low lightness and moderate saturation. In the RGB model it is made of 55.69% red, 11.37% green and 48.63% blue; printed in CMYK it uses 0% cyan, 79.58% magenta, 12.68% yellow and 44.31% black. Its hue angle is 309.56°, with 66.08% saturation and 33.53% 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.02:1 (WCAG AAA). The closest named color is Mardi Gras (#880085), ΔE 4.04.
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.0808 |
Shades
#8e1d7c mixed progressively with black.
Tints
#8e1d7c mixed progressively with white.
Tones
#8e1d7c mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-8e1d7c {
color: #8e1d7c;
}
.bg-8e1d7c {
background-color: #8e1d7c;
color: #ffffff;
}
.border-8e1d7c {
border: 2px solid #8e1d7c;
}
:root {
--color-primary: #8e1d7c;
--color-primary-rgb: 142 29 124;
--color-primary-hsl: 310 66% 34%;
}
.gradient-8e1d7c {
background: linear-gradient(135deg, #8e1d7c, #8e1d43);
}
.shadow-8e1d7c {
box-shadow: 0 8px 24px rgb(142 29 124 / 0.35);
}
Mardi Gras
#8e1d7c rgb(142, 29, 124) hsl(310, 66%, 34%) Mardi Gras
#1d8e2f rgb(29, 142, 47) hsl(130, 66%, 34%) Forest Green
#7c8e1d rgb(124, 142, 29) hsl(70, 66%, 34%) Olive Drab
#1d7c8e rgb(29, 124, 142) hsl(190, 66%, 34%) Teal Blue