#40171b ≈ Caput Mortuum
#40171b is a color from the red family, with very low lightness and muted saturation. In the RGB model it is made of 25.1% red, 9.02% green and 10.59% blue; printed in CMYK it uses 0% cyan, 64.06% magenta, 57.81% yellow and 74.9% black. Its hue angle is 354.15°, with 47.13% saturation and 17.06% lightness in HSL. It is a warm color, often associated with energy, passion and urgency. Designers typically use it for food and restaurant brands, sales and promotions and luxury branding. White text on this color reaches a contrast ratio of 15.48:1 (WCAG AAA). The closest named color is Caput Mortuum (#592720), ΔE 7.83.
Description generated from the measured properties of this color.
| HEX | |
|---|---|
| RGB | |
| RGB percent | |
| CMY | |
| CMYK | |
| HSL | |
| HSV / HSB | |
| Web safe | #330033 |
| CIE-LAB | |
| XYZ | |
| xyY | |
| CIE-LCH | |
| CIE-LUV | |
| Hunter-Lab | |
| OKLab | |
| Binary | |
| Decimal | |
| Relative luminance | 0.0178 |
Shades
#40171b mixed progressively with black.
Tints
#40171b mixed progressively with white.
Tones
#40171b mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-40171b {
color: #40171b;
}
.bg-40171b {
background-color: #40171b;
color: #ffffff;
}
.border-40171b {
border: 2px solid #40171b;
}
:root {
--color-primary: #40171b;
--color-primary-rgb: 64 23 27;
--color-primary-hsl: 354 47% 17%;
}
.gradient-40171b {
background: linear-gradient(135deg, #40171b, #402817);
}
.shadow-40171b {
box-shadow: 0 8px 24px rgb(64 23 27 / 0.35);
}
Caput Mortuum
#40171b rgb(64, 23, 27) hsl(354, 47%, 17%) Caput Mortuum
#17403c rgb(23, 64, 60) hsl(174, 47%, 17%) Dark Slate Gray
#1b4017 rgb(27, 64, 23) hsl(114, 47%, 17%) British Racing Green
#171b40 rgb(23, 27, 64) hsl(234, 47%, 17%) Oxford Blue