#8f287c ≈ Mardi Gras
#8f287c is a color from the magenta family, with low lightness and moderate saturation. In the RGB model it is made of 56.08% red, 15.69% green and 48.63% blue; printed in CMYK it uses 0% cyan, 72.03% magenta, 13.29% yellow and 43.92% black. Its hue angle is 311.07°, with 56.28% saturation and 35.88% 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.6:1 (WCAG AAA). The closest named color is Mardi Gras (#880085), ΔE 5.52.
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.0881 |
Shades
#8f287c mixed progressively with black.
Tints
#8f287c mixed progressively with white.
Tones
#8f287c mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-8f287c {
color: #8f287c;
}
.bg-8f287c {
background-color: #8f287c;
color: #ffffff;
}
.border-8f287c {
border: 2px solid #8f287c;
}
:root {
--color-primary: #8f287c;
--color-primary-rgb: 143 40 124;
--color-primary-hsl: 311 56% 36%;
}
.gradient-8f287c {
background: linear-gradient(135deg, #8f287c, #8f2848);
}
.shadow-8f287c {
box-shadow: 0 8px 24px rgb(143 40 124 / 0.35);
}
Mardi Gras
#8f287c rgb(143, 40, 124) hsl(311, 56%, 36%) Mardi Gras
#288f3b rgb(40, 143, 59) hsl(131, 56%, 36%) Forest Green
#7c8f28 rgb(124, 143, 40) hsl(71, 56%, 36%) Olive Drab
#287c8f rgb(40, 124, 143) hsl(191, 56%, 36%) Teal Blue