#40171B

#40171b ≈ Caput Mortuum

  • red
  • Lightness: very low
  • Saturation: muted
  • Warm

#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.

Conversions of #40171b into other color spaces
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 luminance0.0178

Readable text 15.48:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 1.36:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #242424 ≈ 0.003% of males
Achromatomaly #312021 ≈ 0.001% of males
Protanopia #201f1b ≈ 1.01% of males
Deuteranopia #2b271a ≈ 1.27% of males
Tritanopia #461119 ≈ 0.0001% of males
Protanomaly #301c1b ≈ 1.08% of males
Deuteranomaly #34221a ≈ 4.63% of males
Tritanomaly #44141a ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-40171b {
  color: #40171b;
}
Background
.bg-40171b {
  background-color: #40171b;
  color: #ffffff;
}
Border
.border-40171b {
  border: 2px solid #40171b;
}
CSS variables
:root {
  --color-primary: #40171b;
  --color-primary-rgb: 64 23 27;
  --color-primary-hsl: 354 47% 17%;
}
Gradient
.gradient-40171b {
  background: linear-gradient(135deg, #40171b, #402817);
}
Colored shadow
.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