Light Gray — #d3d3d3

Light Gray (#d3d3d3) is a very light, grayish gray. It is a CSS named color, so you can use it in stylesheets as color: lightgray as well as by its hex code. In RGB it is rgb(211, 211, 211); in HSL, hsl(0, 0%, 83%).

#d3d3d3

Color conversions

Hex#d3d3d3
CSS namelightgray (alias: lightgrey)
RGBrgb(211, 211, 211)
HSLhsl(0, 0%, 83%)
CMYK0%, 0%, 0%, 17%
CSS examplecolor: #d3d3d3; background-color: rgb(211, 211, 211);

Tints and shades of #d3d3d3

The hue is calculated at seven exact lightness levels for use in backgrounds, borders, text and hover states. These values are not substituted with nearby named colors.

#ebebeb
#c7c7c7
#a3a3a3
#808080
#5c5c5c
#3d3d3d
#242424

Color schemes with #d3d3d3

#d3d3d3 is a neutral: it carries little to no hue, so wheel-based schemes like complementary or triadic would simply return the same gray. Neutrals work differently — use the ramp above for backgrounds, borders and text, and pair #d3d3d3 with a saturated accent for links, buttons and highlights. Each of these accents reads clearly against #d3d3d3:

Text contrast and accessibility

On a #d3d3d3 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)1.50:1FailsFails
Black text (#000000)14.03:1AAAAAA

Similar named colors

The CSS named colors closest to #d3d3d3: