#5A5D51
Dark Gray
HEX
RGB
HSL
About #5A5D51 Dark Gray
#5A5D51 is a dark gray color. In the RGB color model, it is composed of 90 red, 93 green, and 81 blue. In the HSL color space, it has a hue of 75°, saturation of 7%, and lightness of 34%.
This color has a low lightness value, making it a dark color great for text and bold accents. With low saturation, it appears muted and subtle.
CSS Code
Use #5A5D51 in your CSS, SCSS, or Tailwind projects.
Color Properties
75°
Hue
7%
Saturation
34%
Lightness
Dark Gray
Color Harmonies
Colors that work well with #5A5D51 based on color theory.
Accessibility
WCAG 2.1 contrast ratio of #5A5D51 against white and black backgrounds.
Aa#5A5D51 on White
Contrast Ratio6.73:1
AA ✓AA Large ✓AAA ✗
Aa#5A5D51 on Black
Contrast Ratio3.12:1
AA ✗AA Large ✓AAA ✗
Color Conversion Table
Complete conversion of #5A5D51 across different color formats.
| Format | Value |
|---|---|
| HEX | #5A5D51 |
| RGB | rgb(90, 93, 81) |
| HSL | hsl(75, 7%, 34%) |
| RGB Decimal | 90, 93, 81 |
| RGB Percent | 35.3%, 36.5%, 31.8% |
| CMYK (approx.) | 3%, 0%, 13%, 64% |
Related Palettes
12 palettes using #5A5D51 or similar colors