#7d287c ≈ Mardi Gras
#7d287c is a color from the magenta family, with low lightness and moderate saturation. In the RGB model it is made of 49.02% red, 15.69% green and 48.63% blue; printed in CMYK it uses 0% cyan, 68% magenta, 0.8% yellow and 50.98% black. Its hue angle is 300.71°, with 51.52% saturation and 32.35% 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.51:1 (WCAG AAA). The closest named color is Mardi Gras (#880085), ΔE 4.08.
Description generated from the measured properties of this color.
| HEX | |
|---|---|
| RGB | |
| RGB percent | |
| CMY | |
| CMYK | |
| HSL | |
| HSV / HSB | |
| Web safe | #663366 |
| CIE-LAB | |
| XYZ | |
| xyY | |
| CIE-LCH | |
| CIE-LUV | |
| Hunter-Lab | |
| OKLab | |
| Binary | |
| Decimal | |
| Relative luminance | 0.0733 |
Shades
#7d287c mixed progressively with black.
Tints
#7d287c mixed progressively with white.
Tones
#7d287c mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-7d287c {
color: #7d287c;
}
.bg-7d287c {
background-color: #7d287c;
color: #ffffff;
}
.border-7d287c {
border: 2px solid #7d287c;
}
:root {
--color-primary: #7d287c;
--color-primary-rgb: 125 40 124;
--color-primary-hsl: 301 52% 32%;
}
.gradient-7d287c {
background: linear-gradient(135deg, #7d287c, #7d2851);
}
.shadow-7d287c {
box-shadow: 0 8px 24px rgb(125 40 124 / 0.35);
}
Mardi Gras
#7d287c rgb(125, 40, 124) hsl(301, 52%, 32%) Mardi Gras
#287d29 rgb(40, 125, 41) hsl(121, 52%, 32%) Green
#7c7d28 rgb(124, 125, 40) hsl(61, 52%, 32%) Olive
#287c7d rgb(40, 124, 125) hsl(181, 52%, 32%) Teal