Dark Gray — #a9a9a9

Dark Gray (#a9a9a9) is a light, grayish gray. It is a CSS named color, so you can use it in stylesheets as color: darkgray as well as by its hex code. In RGB it is rgb(169, 169, 169); in HSL, hsl(0, 0%, 66%).

#a9a9a9

Color conversions

Hex#a9a9a9
CSS namedarkgray (alias: darkgrey)
RGBrgb(169, 169, 169)
HSLhsl(0, 0%, 66%)
CMYK0%, 0%, 0%, 34%
CSS examplecolor: #a9a9a9; background-color: rgb(169, 169, 169);

Tints and shades of #a9a9a9

The hue stepped through seven lightness levels, each matched to the closest named or web-safe color — useful for backgrounds, borders, text and hover states that all belong to one family. Click any swatch for its full breakdown.

Color schemes with #a9a9a9

Complementary — maximum contrast, from opposite sides of the color wheel:

Analogous — neighbours on the wheel, naturally harmonious:

Triadic — three colors evenly spaced for balanced variety:

Tetradic — four colors at 90° intervals:

Text contrast and accessibility

On a #a9a9a9 background, black text gives the better contrast. WCAG requires 4.5:1 for normal text and 3:1 for large text (AA), or 7:1 and 4.5:1 for AAA.

Text colorContrast ratioNormal textLarge text
White text (#ffffff)2.35:1FailsFails
Black text (#000000)8.94:1AAAAAA

Similar named colors

The CSS named colors closest to #a9a9a9: