darkgray darkgray #a9a9a9
darkgray is #a9a9a9 in hexadecimal, rgb(169, 169, 169) in decimal and hsl(0, 0, 66) in HSL. This page lists its harmonies, lightness steps and contrast against black and white — all copyable.
HEX · RGB · HSL
| HEX | #a9a9a9 |
| RGB | rgb(169, 169, 169) |
| HSL | hsl(0, 0%, 66%) |
Harmonies
Complementary
#93bebeAnalogous
#be93a8#bea893Triadic
#93be93#9393beSplit complementary
#93bea8#93a8beTints & shades
#8f8f8f#9c9c9c#a8a8a8#b5b5b5#c2c2c2Accessibility
| vs #ffffff | 2.35:1 |
| vs #000000 | 8.94:1 |
| Suggested text color | #000000 · 8.94:1 · WCAG AAA |
Similar named colors
FAQ
What is the HEX code for darkgray?
darkgray is #a9a9a9 in hex, rgb(169, 169, 169) in decimal and hsl(0, 0%, 66%) in HSL. In CSS you can write either color: darkgray; or color: #a9a9a9; — they are equivalent.
What colors go with darkgray?
The complementary #93bebe gives the strongest contrast, the analogous pair #be93a8 / #bea893 is the safest, and the triad #93be93 / #9393be adds more tension. All three are derived from the 0° hue of #a9a9a9.
Does #a9a9a9 read better on white or black?
Its contrast is 2.35:1 against white and 8.94:1 against black. Use #000000 text on it — that gives 8.94:1, which meets WCAG AAA.
Is a named color different from a hex color?
No. CSS named colors are just syntactic sugar for standard six-digit hex values; browsers resolve them to identical results in every modern engine.