#8A8F8F
Gray
HEX
RGB
HSL
About #8A8F8F Gray
#8A8F8F is a gray color. In the RGB color model, it is composed of 138 red, 143 green, and 143 blue. In the HSL color space, it has a hue of 180°, saturation of 2%, and lightness of 55%.
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 #8A8F8F in your CSS, SCSS, or Tailwind projects.
Color Properties
180°
Hue
2%
Saturation
55%
Lightness
Gray
Color Harmonies
Colors that work well with #8A8F8F based on color theory.
Accessibility
WCAG 2.1 contrast ratio of #8A8F8F against white and black backgrounds.
Aa#8A8F8F on White
Contrast Ratio3.28:1
AA ✗AA Large ✓AAA ✗
Aa#8A8F8F on Black
Contrast Ratio6.41:1
AA ✓AA Large ✓AAA ✗
Color Conversion Table
Complete conversion of #8A8F8F across different color formats.
| Format | Value |
|---|---|
| HEX | #8A8F8F |
| RGB | rgb(138, 143, 143) |
| HSL | hsl(180, 2%, 55%) |
| RGB Decimal | 138, 143, 143 |
| RGB Percent | 54.1%, 56.1%, 56.1% |
| CMYK (approx.) | 3%, 0%, 0%, 44% |
Related Palettes
12 palettes using #8A8F8F or similar colors