#8a287c ≈ Mardi Gras
#8a287c is a color from the magenta family, with low lightness and moderate saturation. In the RGB model it is made of 54.12% red, 15.69% green and 48.63% blue; printed in CMYK it uses 0% cyan, 71.01% magenta, 10.14% yellow and 45.88% black. Its hue angle is 308.57°, with 55.06% saturation and 34.9% 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.85:1 (WCAG AAA). The closest named color is Mardi Gras (#880085), ΔE 4.82.
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.0838 |
Shades
#8a287c mixed progressively with black.
Tints
#8a287c mixed progressively with white.
Tones
#8a287c mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-8a287c {
color: #8a287c;
}
.bg-8a287c {
background-color: #8a287c;
color: #ffffff;
}
.border-8a287c {
border: 2px solid #8a287c;
}
:root {
--color-primary: #8a287c;
--color-primary-rgb: 138 40 124;
--color-primary-hsl: 309 55% 35%;
}
.gradient-8a287c {
background: linear-gradient(135deg, #8a287c, #8a284b);
}
.shadow-8a287c {
box-shadow: 0 8px 24px rgb(138 40 124 / 0.35);
}
Mardi Gras
#8a287c rgb(138, 40, 124) hsl(309, 55%, 35%) Mardi Gras
#288a36 rgb(40, 138, 54) hsl(129, 55%, 35%) Forest Green
#7c8a28 rgb(124, 138, 40) hsl(69, 55%, 35%) Olive Drab
#287c8a rgb(40, 124, 138) hsl(189, 55%, 35%) Teal Blue