#505851
Dark Gray
HEX
RGB
HSL
About #505851 Dark Gray
#505851 is a dark gray color. In the RGB color model, it is composed of 80 red, 88 green, and 81 blue. In the HSL color space, it has a hue of 127°, saturation of 5%, and lightness of 33%.
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 & Gradients
Use #505851 in your CSS, SCSS, or Tailwind projects. Copy ready-to-use gradients.
Beautiful Gradients
Color Properties
127°
Hue
5%
Saturation
33%
Lightness
Dark Gray
Color Harmonies
Colors that work well with #505851 based on color theory.
Accessibility
WCAG 2.1 contrast ratio of #505851 against white and black backgrounds.
Aa#505851 on White
Contrast Ratio7.35:1
AA ✓AA Large ✓AAA ✓
Aa#505851 on Black
Contrast Ratio2.86:1
AA ✗AA Large ✗AAA ✗
Color Conversion Table
Complete conversion of #505851 across different color formats.
| Format | Value |
|---|---|
| HEX | #505851 |
| RGB | rgb(80, 88, 81) |
| HSL | hsl(127, 5%, 33%) |
| RGB Decimal | 80, 88, 81 |
| RGB Percent | 31.4%, 34.5%, 31.8% |
| CMYK (approx.) | 9%, 0%, 8%, 65% |
Related Palettes
12 palettes using #505851 or similar colors