#9f047e ≈ Mardi Gras
#9f047e is a color from the magenta family, with low lightness and strong saturation. In the RGB model it is made of 62.35% red, 1.57% green and 49.41% blue; printed in CMYK it uses 0% cyan, 97.48% magenta, 20.75% yellow and 37.65% black. Its hue angle is 312.77°, with 95.09% saturation and 31.96% 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.52:1 (WCAG AAA). The closest named color is Mardi Gras (#880085), ΔE 5.93.
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.0896 |
Shades
#9f047e mixed progressively with black.
Tints
#9f047e mixed progressively with white.
Tones
#9f047e mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-9f047e {
color: #9f047e;
}
.bg-9f047e {
background-color: #9f047e;
color: #ffffff;
}
.border-9f047e {
border: 2px solid #9f047e;
}
:root {
--color-primary: #9f047e;
--color-primary-rgb: 159 4 126;
--color-primary-hsl: 313 95% 32%;
}
.gradient-9f047e {
background: linear-gradient(135deg, #9f047e, #9f0431);
}
.shadow-9f047e {
box-shadow: 0 8px 24px rgb(159 4 126 / 0.35);
}
Mardi Gras
#9f047e rgb(159, 4, 126) hsl(313, 95%, 32%) Mardi Gras
#049f25 rgb(4, 159, 37) hsl(133, 95%, 32%) Islamic Green
#7e9f04 rgb(126, 159, 4) hsl(73, 95%, 32%) Apple Green
#047e9f rgb(4, 126, 159) hsl(193, 95%, 32%) Cerulean