Swatchproof

Dark gray #A9A9A9

Dark gray is one of the named colours in CSS, written darkgray or darkgrey. Black text reaches 8.94:1 on it, enough for body text.

Try on walls Preview on a website

Colour codes

CSS keyworddarkgray or darkgrey
HEX#A9A9A9
RGBrgb(169 169 169)
HSLhsl(0 0% 66%)
OKLCHoklch(73.5% 0.000 0)
White text2.35:1 · body text AA Fail
Black text8.94:1 · body text AA Pass

Colours that go with Dark gray

The closest colour in Sanzo Wada's A Dictionary of Color Combinations is Mineral Gray (#A2B0AD), nearly identical. These are the colours Wada paired it with, ranked by their contrast with Dark gray itself.

ColourHEXContrast with Dark grayBody text AA
Pompeian Red#AB24392.94:1Fail
Ivory Buff#EBD3A21.61:1Fail

Palettes with Mineral Gray

Shades and tints of Dark gray

Nine lightness steps in OKLCH that keep the hue of Dark gray. Chroma is reduced only where sRGB cannot show it.

:root {
  --darkgray-100: #F5F5F5;
  --darkgray-200: #E4E4E4;
  --darkgray-300: #CECECE;
  --darkgray-400: #B1B1B1;
  --darkgray-500: #929292;
  --darkgray-600: #717171;
  --darkgray-700: #555555;
  --darkgray-800: #3A3A3A;
  --darkgray-900: #222222;
}

Text that keeps Dark gray on screen

Text #222222 on #A9A9A9 reaches 6.77:1, which passes WCAG AA for body text. Check it on a dashboard

Similar CSS colours