#786C7F
Gray
HEX
RGB
HSL
About #786C7F Gray
#786C7F is a gray color. In the RGB color model, it is composed of 120 red, 108 green, and 127 blue. In the HSL color space, it has a hue of 278°, saturation of 8%, and lightness of 46%.
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 & Gradients
Use #786C7F in your CSS, SCSS, or Tailwind projects. Copy ready-to-use gradients.
Beautiful Gradients
Color Properties
278°
Hue
8%
Saturation
46%
Lightness
Gray
Color Harmonies
Colors that work well with #786C7F based on color theory.
Accessibility
WCAG 2.1 contrast ratio of #786C7F against white and black backgrounds.
Aa#786C7F on White
Contrast Ratio4.94:1
AA ✓AA Large ✓AAA ✗
Aa#786C7F on Black
Contrast Ratio4.25:1
AA ✗AA Large ✓AAA ✗
Color Conversion Table
Complete conversion of #786C7F across different color formats.
| Format | Value |
|---|---|
| HEX | #786C7F |
| RGB | rgb(120, 108, 127) |
| HSL | hsl(278, 8%, 46%) |
| RGB Decimal | 120, 108, 127 |
| RGB Percent | 47.1%, 42.4%, 49.8% |
| CMYK (approx.) | 6%, 15%, 0%, 50% |
Related Palettes
12 palettes using #786C7F or similar colors