#D3D3D3 color (lightgray)

#D3D3D3 is rgb(211, 211, 211) in RGB and hsl(0, 0%, 83%) in HSL. It is exactly the CSS color lightgray. Use black text on it (contrast 14.03:1).

#D3D3D3lightgray / lightgrey
HEX#D3D3D3
RGBrgb(211, 211, 211)
RGB percentrgb(82.7%, 82.7%, 82.7%)
HSLhsl(0, 0%, 83%)
HSV / HSBhsv(0, 0%, 83%)
CMYKcmyk(0%, 0%, 0%, 17%)
CIELAB (D65)lab(84.6 0 0)

Edit in the color converter → · Check contrast → · Shades →

About #D3D3D3

#D3D3D3 is a pale, neutral gray. It belongs to the gray family and reads as a neutral color. All three channels are equal (211), so it is a pure gray at 82.7% brightness with no hue at all. Colors like this are typically used for borders, secondary text, dividers and neutral UI.

Color conversions

HEX#D3D3D3
RGBrgb(211, 211, 211)
RGB percentrgb(82.7%, 82.7%, 82.7%)
HSLhsl(0, 0%, 83%)
HSV / HSBhsv(0, 0%, 83%)
CMYKcmyk(0%, 0%, 0%, 17%)
CIELAB (D65)lab(84.6 0 0)
Decimal13882323
Binary11010011 11010011 11010011

HEX D3 D3 D3 → 211, 211, 211 (each pair is a base-16 number: D×16 + 3 = 211)

Color harmonies

Harmonies rotate the HSL hue (complementary +180°, triadic ±120°, split-complementary ±150°, analogous ±30°, tetradic 90° steps) and keep saturation and lightness. Swatches link to the nearest color page.

Tints and shades of #D3D3D3

Tints (mixed with white)

Shades (mixed with black)

Tones (mixed with gray)

Contrast and accessibility

Text on #D3D3D3RatioAA normalAA largeAAA normalAAA large
White text1.50:1FailFailFailFail
Black text14.03:1PassPassPassPass
White text on #D3D3D3
Black text on #D3D3D3
#D3D3D3 text on white
#D3D3D3 text on black

Relative luminance is 0.6514 (0 = black, 1 = white). WCAG 2 requires 4.5:1 for body text and 3:1 for large text and UI components.

Color blindness simulation

Protanopia
#d3d3d3

Deuteranopia
#d3d3d3

Tritanopia
#d3d3d3

Achromatopsia
#d3d3d3

People with red–green color blindness see this color almost unchanged (ΔE 0 for deuteranopia), so it is a safe choice where color carries meaning. Simulation uses the Machado (2009) matrices for full dichromacy; achromatopsia shows luminance only.

Similar named colors

NameHEXΔE 2000
lightgray#d3d3d30
gainsboro#dcdcdc2.1
silver#c0c0c04.7
whitesmoke#f5f5f57.5

CSS

.element {
  color: #d3d3d3;
  background-color: rgb(211, 211, 211);
  border: 1px solid hsl(0, 0%, 83%);
  box-shadow: 0 2px 8px rgb(211 211 211 / 50%);
}
:root { --brand: #d3d3d3; }

Frequently asked questions

What color is #D3D3D3?
A pale neutral gray in the gray family. Closest CSS name: lightgray.
What is #D3D3D3 in RGB?
rgb(211, 211, 211): red 211, green 211, blue 211.
What is the complementary color of #D3D3D3?
#D3D3D3, found by rotating the hue 180°.