#40172B
Dark Rose
HEX
RGB
HSL
About #40172B Dark Rose
#40172B is a dark rose color. In the RGB color model, it is composed of 64 red, 23 green, and 43 blue. In the HSL color space, it has a hue of 331°, 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
Use #40172B in your CSS, SCSS, or Tailwind projects.
Color Properties
331°
Hue
47%
Saturation
17%
Lightness
Dark Rose
Color Harmonies
Colors that work well with #40172B based on color theory.
Accessibility
WCAG 2.1 contrast ratio of #40172B against white and black backgrounds.
Aa#40172B on White
Contrast Ratio15.27:1
AA ✓AA Large ✓AAA ✓
Aa#40172B on Black
Contrast Ratio1.38:1
AA ✗AA Large ✗AAA ✗
Color Conversion Table
Complete conversion of #40172B across different color formats.
| Format | Value |
|---|---|
| HEX | #40172B |
| RGB | rgb(64, 23, 43) |
| HSL | hsl(331, 47%, 17%) |
| RGB Decimal | 64, 23, 43 |
| RGB Percent | 25.1%, 9.0%, 16.9% |
| CMYK (approx.) | 0%, 64%, 33%, 75% |
Related Palettes
12 palettes using #40172B or similar colors