#525252
Dark Gray
HEX
RGB
HSL
About #525252 Dark Gray
#525252 is a dark gray color. In the RGB color model, it is composed of 82 red, 82 green, and 82 blue. In the HSL color space, it has a hue of 0°, saturation of 0%, and lightness of 32%.
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 #525252 in your CSS, SCSS, or Tailwind projects.
Color Properties
0°
Hue
0%
Saturation
32%
Lightness
Dark Gray
Color Harmonies
Colors that work well with #525252 based on color theory.
Accessibility
WCAG 2.1 contrast ratio of #525252 against white and black backgrounds.
Aa#525252 on White
Contrast Ratio7.81:1
AA ✓AA Large ✓AAA ✓
Aa#525252 on Black
Contrast Ratio2.69:1
AA ✗AA Large ✗AAA ✗
Color Conversion Table
Complete conversion of #525252 across different color formats.
| Format | Value |
|---|---|
| HEX | #525252 |
| RGB | rgb(82, 82, 82) |
| HSL | hsl(0, 0%, 32%) |
| RGB Decimal | 82, 82, 82 |
| RGB Percent | 32.2%, 32.2%, 32.2% |
| CMYK (approx.) | 0%, 0%, 0%, 68% |
Related Palettes
12 palettes using #525252 or similar colors