CSS Named Color

Copy-ready color values

HEX#D3D3D3
RGBrgb(211, 211, 211)
HSLhsl(0, 0%, 83%)
HSVhsv(0, 0%, 83%)
CMYK approx.cmyk(0, 0, 0, 17)

Color value table

FormatValueCopy
HEX#D3D3D3
RGBrgb(211, 211, 211)
HSLhsl(0, 0%, 83%)
HSVhsv(0, 0%, 83%)
CMYK approx.cmyk(0, 0, 0, 17)
CSS keywordlightgray

Contrast and classification

LightLightness1.50:1Contrast with white14.03:1Contrast with blackGrayscaleColor family

Shade and tint preview

White 10%
#D7D7D7

White 30%
#E0E0E0

White 70%
#F2F2F2

White 90%
#FBFBFB

Black 10%
#BEBEBE

Black 30%
#949494

Black 70%
#3F3F3F

Black 90%
#151515

Harmony palettes

Complementary

#2C2C2C
#5F5F5F

Analogous

#D3D3D3
#D3D3D3

Triadic

#D3D3D3
#D3D3D3

Split complementary

#525252
#242424

Using Lightgray

Lightgray works best when it is chosen with contrast, surrounding colors, and interface state in mind. Use the HEX value for static CSS, RGB when you need channel-level control, and HSL when adjusting lightness or saturation for hover states. The CMYK value is an approximate screen-to-print conversion, so print workflows should still rely on calibrated design software or a printer profile.

CSS, SCSS, and Tailwind examples

:root {
  --color-lightgray: #d3d3d3;
}

.button-primary {
  background: var(--color-lightgray);
  color: #000000;
}

$lightgray: #d3d3d3;

// Tailwind arbitrary value
class="bg-[#d3d3d3] text-white"