#7e287c ≈ Mardi Gras
#7e287c is a color from the magenta family, with low lightness and moderate saturation. In the RGB model it is made of 49.41% red, 15.69% green and 48.63% blue; printed in CMYK it uses 0% cyan, 68.25% magenta, 1.59% yellow and 50.59% black. Its hue angle is 301.4°, with 51.81% saturation and 32.55% 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.46:1 (WCAG AAA). The closest named color is Mardi Gras (#880085), ΔE 4.06.
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.0741 |
Shades
#7e287c mixed progressively with black.
Tints
#7e287c mixed progressively with white.
Tones
#7e287c mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-7e287c {
color: #7e287c;
}
.bg-7e287c {
background-color: #7e287c;
color: #ffffff;
}
.border-7e287c {
border: 2px solid #7e287c;
}
:root {
--color-primary: #7e287c;
--color-primary-rgb: 126 40 124;
--color-primary-hsl: 301 52% 33%;
}
.gradient-7e287c {
background: linear-gradient(135deg, #7e287c, #7e2851);
}
.shadow-7e287c {
box-shadow: 0 8px 24px rgb(126 40 124 / 0.35);
}
Mardi Gras
#7e287c rgb(126, 40, 124) hsl(301, 52%, 33%) Mardi Gras
#287e2a rgb(40, 126, 42) hsl(121, 52%, 33%) Green
#7c7e28 rgb(124, 126, 40) hsl(61, 52%, 33%) Olive
#287c7e rgb(40, 124, 126) hsl(181, 52%, 33%) Teal