#971f7e ≈ Mardi Gras
#971f7e is a color from the magenta family, with low lightness and moderate saturation. In the RGB model it is made of 59.22% red, 12.16% green and 49.41% blue; printed in CMYK it uses 0% cyan, 79.47% magenta, 16.56% yellow and 40.78% black. Its hue angle is 312.5°, with 65.93% saturation and 35.69% 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 brand accents. White text on this color reaches a contrast ratio of 7.46:1 (WCAG AAA). The closest named color is Mardi Gras (#880085), ΔE 5.61.
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.0907 |
Shades
#971f7e mixed progressively with black.
Tints
#971f7e mixed progressively with white.
Tones
#971f7e mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-971f7e {
color: #971f7e;
}
.bg-971f7e {
background-color: #971f7e;
color: #ffffff;
}
.border-971f7e {
border: 2px solid #971f7e;
}
:root {
--color-primary: #971f7e;
--color-primary-rgb: 151 31 126;
--color-primary-hsl: 313 66% 36%;
}
.gradient-971f7e {
background: linear-gradient(135deg, #971f7e, #971f42);
}
.shadow-971f7e {
box-shadow: 0 8px 24px rgb(151 31 126 / 0.35);
}
Mardi Gras
#971f7e rgb(151, 31, 126) hsl(313, 66%, 36%) Mardi Gras
#1f9738 rgb(31, 151, 56) hsl(133, 66%, 36%) Forest Green
#7e971f rgb(126, 151, 31) hsl(73, 66%, 36%) Olive Drab
#1f7e97 rgb(31, 126, 151) hsl(193, 66%, 36%) Teal Blue