Dim gray #696969
Dim gray is one of the named colours in CSS, written dimgray or dimgrey. White text reaches 5.49:1 on it, enough for body text.
Try on walls Preview on a website
Colour codes
| CSS keyword | dimgray or dimgrey |
|---|---|
| HEX | #696969 |
| RGB | rgb(105 105 105) |
| HSL | hsl(0 0% 41%) |
| OKLCH | oklch(52.1% 0.000 0) |
| White text | 5.49:1 · body text AA Pass |
| Black text | 3.83:1 · body text AA Fail |
Colours that go with Dim gray
The closest colour in Sanzo Wada's A Dictionary of Color Combinations is Dark Medici Blue (#547076), close. These are the colours Wada paired it with, ranked by their contrast with Dim gray itself.
| Colour | HEX | Contrast with Dim gray | Body text AA |
|---|---|---|---|
| Pale Lemon Yellow | #FFEFAE | 4.76:1 | Pass |
| Olive Ocher | #D6B43E | 2.73:1 | Fail |
| Ecru | #C2AE93 | 2.55:1 | Fail |
| Isabella Color | #C5A56E | 2.35:1 | Fail |
| Sulphine Yellow | #C19F2C | 2.16:1 | Fail |
| Spinel Red | #F27291 | 1.98:1 | Fail |
| Hay's Russet | #793327 | 1.65:1 | Fail |
| Taupe Brown | #7A4456 | 1.37:1 | Fail |
| Pale Raw Umber | #71502F | 1.32:1 | Fail |
| Red Orange | #DD4027 | 1.26:1 | Fail |
Palettes with Dark Medici Blue
Shades and tints of Dim gray
Nine lightness steps in OKLCH that keep the hue of Dim gray. Chroma is reduced only where sRGB cannot show it.
- 100#F5F5F5
- 200#E4E4E4
- 300#CECECE
- 400#B1B1B1
- 500#929292
- 600#717171
- 700#555555
- 800#3A3A3A
- 900#222222
:root {
--dimgray-100: #F5F5F5;
--dimgray-200: #E4E4E4;
--dimgray-300: #CECECE;
--dimgray-400: #B1B1B1;
--dimgray-500: #929292;
--dimgray-600: #717171;
--dimgray-700: #555555;
--dimgray-800: #3A3A3A;
--dimgray-900: #222222;
}
Text that keeps Dim gray on screen
Text #696969 on #F5F5F5 reaches 5.04:1, which passes WCAG AA for body text. Check it on a dashboard