Skip to content
PantoneTools
neutral
CSS Named Colors

Lightgray

lightgray · #D3D3D3

HEX

#D3D3D3

RGB

rgb(211, 211, 211)

CMYK

cmyk(0%, 0%, 0%, 17%)

HSL

hsl(0, 0%, 83%)

LAB

lab(84.6, 0.0, 0.0)

What is Lightgray?

Lightgray is the lightgray reference in the CSS Named Colors. Its sRGB value is #D3D3D3 (rgb 211, 211, 211). It sits in the neutral family. The 147 named colors defined by the W3C CSS Color Module Level 4 specification — usable directly in CSS as keywords like 'crimson' or 'rebeccapurple'. See disclaimer for accuracy and trademark notes.

Accessibility

WCAG 2.1 contrast checks for Lightgray as a background.

Black text on this color

Sample text · 14.03 : 1
AA Normal
AA Large
AAA Normal
AAA Large

White text on this color

Sample text · 1.50 : 1
AA Normal
AA Large
AAA Normal
AAA Large

Shades, tints & tonal scale of Lightgray

An 11-step tonal scale derived from Lightgray (#D3D3D3). Click any swatch to copy its HEX. Use these as a starting point for design tokens, hover states, and disabled states in a design system.

Copied #FBFBFB

50

#FBFBFB

#FBFBFB

Copied #F8F8F8

100

#F8F8F8

#F8F8F8

Copied #F1F1F1

200

#F1F1F1

#F1F1F1

Copied #E9E9E9

300

#E9E9E9

#E9E9E9

Copied #DEDEDE

400

#DEDEDE

#DEDEDE

Copied #D3D3D3

500

#D3D3D3

#D3D3D3

Copied #B3B3B3

600

#B3B3B3

#B3B3B3

Copied #898989

700

#898989

#898989

Copied #5F5F5F

800

#5F5F5F

#5F5F5F

Copied #353535

900

#353535

#353535

Copied #191919

950

#191919

#191919

Lighter tints (mixed with white)

Copied #DADADA

15%

#DADADA

Copied #E1E1E1

30%

#E1E1E1

Copied #E8E8E8

45%

#E8E8E8

Copied #EFEFEF

60%

#EFEFEF

Copied #F5F5F5

75%

#F5F5F5

Darker shades (mixed with black)

Copied #C4C4C4

15%

#C4C4C4

Copied #B4B4B4

30%

#B4B4B4

Copied #A1A1A1

45%

#A1A1A1

Copied #8C8C8C

60%

#8C8C8C

Copied #707070

75%

#707070

Color harmonies for Lightgray

Classic color-theory harmonies derived from rotating the hue of Lightgray. Use these to build accent palettes, brand systems, and accessible UI color pairings.

Complementary

180° opposite — strongest contrast

Copied #D3D3D3

#D3D3D3

#D3D3D3

Copied #D4D4D4

#D4D4D4

#D4D4D4

Triadic

Three colors 120° apart

Copied #D3D3D3

#D3D3D3

#D3D3D3

Copied #D4D4D4

#D4D4D4

#D4D4D4

Copied #D4D4D4

#D4D4D4

#D4D4D4

Analogous

Two neighbors ±30° on the wheel

Copied #D4D4D4

#D4D4D4

#D4D4D4

Copied #D3D3D3

#D3D3D3

#D3D3D3

Copied #D4D4D4

#D4D4D4

#D4D4D4

Split-complementary

Base + two colors flanking its complement

Copied #D3D3D3

#D3D3D3

#D3D3D3

Copied #D4D4D4

#D4D4D4

#D4D4D4

Copied #D4D4D4

#D4D4D4

#D4D4D4

Tetradic

Two complementary pairs

Copied #D3D3D3

#D3D3D3

#D3D3D3

Copied #D4D4D4

#D4D4D4

#D4D4D4

Copied #D4D4D4

#D4D4D4

#D4D4D4

Copied #D4D4D4

#D4D4D4

#D4D4D4

Square

Four colors evenly spaced 90° apart

Copied #D3D3D3

#D3D3D3

#D3D3D3

Copied #D4D4D4

#D4D4D4

#D4D4D4

Copied #D4D4D4

#D4D4D4

#D4D4D4

Copied #D4D4D4

#D4D4D4

#D4D4D4

Lightgray in every color space

Full conversion of Lightgray across the color spaces designers and developers actually use — including OKLCH (the perceptually-uniform space that powers Tailwind v4 and CSS Color Module Level 4) and HWB.

HEX

#D3D3D3

RGB

rgb(211, 211, 211)

CMYK

cmyk(0%, 0%, 0%, 17%)

HSL

hsl(0, 0%, 83%)

HSV

hsv(0, 0%, 83%)

HWB

hwb(0 83% 17%)

CIE Lab

lab(84.6 0.0 0.0)

OKLCH

oklch(86.7% 0.000 89.9)

XYZ (D65)

xyz(61.91, 65.14, 70.93)

Copy-ready code for Lightgray

Drop-in snippets for CSS, Tailwind, Sass, iOS Swift, and Android XML. Click the copy button on any snippet to put it on your clipboard.

CSS

color: #D3D3D3;
background-color: #D3D3D3;

CSS variable

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

Tailwind config

// tailwind.config.js
colors: {
  'lightgray': '#D3D3D3',
}

Sass

$color-lightgray: #D3D3D3;

Swift UIColor

UIColor(red: 0.827, green: 0.827, blue: 0.827, alpha: 1.0)

Android XML

<color name="lightgray">#D3D3D3</color>

Closest match in every color system

The nearest Lightgray equivalent in every other color system on this site, ranked by ΔE2000 perceptual distance. Useful when translating between design-system, web-standard, and industrial color references.

Closest in CSS Named Colors

Top 6 ΔE2000-closest entries within the same collection.

Top 6 ΔE2000-closest Pantone references. Cross-system matching is approximate — see disclaimer.

Top 6 ΔE2000-closest RAL Classic references for industrial coating cross-reference.

Copied #D7D7D7

RAL 7035

#D7D7D7

Light grey

Copied #D7D7D7

RAL 9018

#D7D7D7

Papyrus white

Copied #F4F4F4

RAL 9003

#F4F4F4

Signal white

Copied #F6F6F6

RAL 9016

#F6F6F6

Traffic white

Copied #B5B8B1

RAL 7038

#B5B8B1

Agate grey

Copied #FFFFFF

RAL 9010

#FFFFFF

Pure white

FAQ about Lightgray

What is the HEX code for Lightgray?

Lightgray (lightgray) has the HEX code #D3D3D3. In RGB it is rgb(211, 211, 211), and in CMYK it is cmyk(0%, 0%, 0%, 17%).

What is the OKLCH value of Lightgray?

Lightgray converts to oklch(0.867 0.000 89.9). OKLCH is the perceptually uniform color space used by Tailwind v4 and CSS Color Module Level 4.

Is Lightgray accessible for body text?

Used as a background, Lightgray has a contrast ratio of 14.03:1 with black text and 1.50:1 with white text. WCAG 2.1 AA requires 4.5:1 for normal text. The current recommendation is to use black text and verify in real UI context.

What is the closest Pantone to Lightgray?

The closest Pantone reference to Lightgray by ΔE2000 perceptual distance is Pantone Cool Gray 2 C (#D0D0CE). Cross-system Pantone matching is approximate; for color-critical print work, verify with a physical Pantone guide.

What is the closest RAL color to Lightgray?

The closest RAL Classic reference to Lightgray by ΔE2000 distance is RAL 7035 (Light grey, #D7D7D7). RAL is a German industrial coating standard commonly used for paint, powder coat, and architectural specification.

What is the complementary color of Lightgray?

The complementary color (180° opposite on the HSL color wheel) of Lightgray is #D4D4D4. Use it for high-contrast accents, error states, or call-to-action pairings.

Data provenance & source

CSS Named Colors (CSS Color Module Level 4)

The 147 named colors defined by the W3C CSS Color Module Level 4 specification. Origin: VGA (16) + X11 (rest) + 'rebeccapurple'. Use as a reference for web color names that all browsers natively support. Names like 'crimson' or 'rebeccapurple' work as CSS values without any framework.

Source type
derived
Confidence
high
License
W3C permissive document license
Last reviewed
2026-05-24

Workflow tags

css
web-standard
named-keyword
neutral

CSS named colors are sRGB digital values defined for browsers. For print, convert to a process-appropriate color and proof against substrate.

CSS Named Colors · Lightgray — #D3D3D3 | PantoneTools