#40171A
Dark Red
HEX
RGB
HSL
About #40171A Dark Red
#40171A is a dark red color. In the RGB color model, it is composed of 64 red, 23 green, and 26 blue. In the HSL color space, it has a hue of 356°, saturation of 47%, and lightness of 17%.
This color has a low lightness value, making it a dark color great for text and bold accents. With moderate saturation, it appears balanced and versatile.
CSS Code & Gradients
Use #40171A in your CSS, SCSS, or Tailwind projects. Copy ready-to-use gradients.
Beautiful Gradients
Color Properties
356°
Hue
47%
Saturation
17%
Lightness
Dark Red
Color Harmonies
Colors that work well with #40171A based on color theory.
Accessibility
WCAG 2.1 contrast ratio of #40171A against white and black backgrounds.
Aa#40171A on White
Contrast Ratio15.49:1
AA ✓AA Large ✓AAA ✓
Aa#40171A on Black
Contrast Ratio1.36:1
AA ✗AA Large ✗AAA ✗
Color Conversion Table
Complete conversion of #40171A across different color formats.
| Format | Value |
|---|---|
| HEX | #40171A |
| RGB | rgb(64, 23, 26) |
| HSL | hsl(356, 47%, 17%) |
| RGB Decimal | 64, 23, 26 |
| RGB Percent | 25.1%, 9.0%, 10.2% |
| CMYK (approx.) | 0%, 64%, 59%, 75% |
Related Palettes
12 palettes using #40171A or similar colors