#787D7D
Gray
HEX
RGB
HSL
About #787D7D Gray
#787D7D is a gray color. In the RGB color model, it is composed of 120 red, 125 green, and 125 blue. In the HSL color space, it has a hue of 180°, saturation of 2%, and lightness of 48%.
This color has a medium lightness value, making it a balanced tone ideal for both text and UI elements. With low saturation, it appears muted and subtle.
CSS Code
Use #787D7D in your CSS, SCSS, or Tailwind projects.
Color Properties
180°
Hue
2%
Saturation
48%
Lightness
Gray
Color Harmonies
Colors that work well with #787D7D based on color theory.
Accessibility
WCAG 2.1 contrast ratio of #787D7D against white and black backgrounds.
Aa#787D7D on White
Contrast Ratio4.18:1
AA ✗AA Large ✓AAA ✗
Aa#787D7D on Black
Contrast Ratio5.03:1
AA ✓AA Large ✓AAA ✗
Color Conversion Table
Complete conversion of #787D7D across different color formats.
| Format | Value |
|---|---|
| HEX | #787D7D |
| RGB | rgb(120, 125, 125) |
| HSL | hsl(180, 2%, 48%) |
| RGB Decimal | 120, 125, 125 |
| RGB Percent | 47.1%, 49.0%, 49.0% |
| CMYK (approx.) | 4%, 0%, 0%, 51% |
Related Palettes
12 palettes using #787D7D or similar colors