#951c7b ≈ Mardi Gras
#951c7b is a color from the magenta family, with low lightness and moderate saturation. In the RGB model it is made of 58.43% red, 10.98% green and 48.24% blue; printed in CMYK it uses 0% cyan, 81.21% magenta, 17.45% yellow and 41.57% black. Its hue angle is 312.89°, with 68.36% saturation and 34.71% 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.69:1 (WCAG AAA). The closest named color is Mardi Gras (#880085), ΔE 5.39.
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.0865 |
Shades
#951c7b mixed progressively with black.
Tints
#951c7b mixed progressively with white.
Tones
#951c7b mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-951c7b {
color: #951c7b;
}
.bg-951c7b {
background-color: #951c7b;
color: #ffffff;
}
.border-951c7b {
border: 2px solid #951c7b;
}
:root {
--color-primary: #951c7b;
--color-primary-rgb: 149 28 123;
--color-primary-hsl: 313 68% 35%;
}
.gradient-951c7b {
background: linear-gradient(135deg, #951c7b, #951c3f);
}
.shadow-951c7b {
box-shadow: 0 8px 24px rgb(149 28 123 / 0.35);
}
Mardi Gras
#951c7b rgb(149, 28, 123) hsl(313, 68%, 35%) Mardi Gras
#1c9536 rgb(28, 149, 54) hsl(133, 68%, 35%) Forest Green
#7b951c rgb(123, 149, 28) hsl(73, 68%, 35%) Olive Drab
#1c7b95 rgb(28, 123, 149) hsl(193, 68%, 35%) Teal Blue