Palette maker

Light Gray Color: Hex Code, RGB, HSL and Palettes

Light gray is , which is rgb(211, 211, 211) or hsl(0, 0%, 83%). It is a pure neutral: equal red, green and blue, so it carries no hue and no tint.

On this page
  1. Color codes
  2. Appearance
  3. Similar grays
  4. Naming
  5. Web and UI
  6. Accessibility
  7. Brand and print
  8. Interiors
  9. Pairings
  10. Palettes
  11. FAQ

That makes it one of the safest colors in any palette. It sits quietly behind content, draws soft lines between things and lets stronger colors do the talking. The palette maker above builds monochrome, analogous, complementary, triadic and split palettes from it, and below you will find the codes, the close alternatives, the contrast numbers and the pairings that actually work.

Light gray color codes: HEX, RGB, HSL and CMYK

All three channels are 211 out of 255, which is about 82.7% brightness. That rounds to 83% lightness in HSL. Saturation is 0%, so the hue value of 0° is only a placeholder and changing it does nothing.

Format Value
HEX
RGB rgb(211, 211, 211)
RGB percent 82.7%, 82.7%, 82.7%
HSL hsl(0, 0%, 83%)
HSB / HSV 0°, 0%, 83%
CMYK (simple conversion) 0, 0, 0, 17
OKLCH oklch(86.7% 0 0)
Nearest web-safe
CSS keyword lightgray, lightgrey

The CMYK figure is a straight mathematical conversion, 17% black and nothing else. It is a fine starting point, but a real press result depends on the paper and the profile, which I come back to in the print section.

What light gray looks like and how it reads

Light gray is about 17% short of white in brightness. On a bright screen next to pure white it reads clearly as gray. Alone on a dark page it can pass for off-white. That flexibility is why designers reach for it so often.

Because it has no hue, its surroundings push it around. Beside warm oranges, browns and wood tones it looks slightly cool. Beside blues it looks slightly warm. If a gray looks wrong in a layout, check the colors next to it before you blame the gray.

Its tints and shades are easy to remember. Lighter steps are and , and darker steps are and . If you want to blend between them or down to black, the black to grey gradient page has ready CSS.

Light gray vs gainsboro, silver and other close grays

Grays are easy to confuse because the differences are small numbers. A jump of 9 in each channel is visible when two swatches touch and almost invisible when they are apart. These are the neighbors you will meet most often:

  • Gainsboro : slightly lighter, a good second surface layer on top of light gray.
  • Platinum : lighter again, with a faint warm cast.
  • Silver : darker, and the name carries a metallic feel.
  • X11 Gray : almost the same lightness as silver, a touch darker.
  • Dark Gray : a clear step down, useful for secondary text on dark backgrounds.
  • White Smoke : the usual choice for page backgrounds.

If you need something brighter and crisper than all of these, ice white is the next stop. For a gray that leans blue, Light Steel Blue and Light Slate Gray are the CSS options.

Light gray or light grey, and why darkgray beats gray

Gray is the American spelling and grey the British one. CSS accepts both, and lightgray and lightgrey resolve to the same . Pick one spelling and keep it consistent across a project so searches in your codebase find everything.

In CSS, which keyword is actually the lighter color?

CSS merged two older lists, so darkgray (#A9A9A9) ended up lighter than the HTML gray (#808080).

The odd part is the naming. In the X11 color list, plain gray was a light shade, , with light gray () and dark gray () set around it. HTML had already defined gray as the mid value . When the lists were merged for CSS, darkgray ended up lighter than gray.

Naming trap

In CSS, darkgray () is lighter than gray (). Use hex codes in design files and you will never be caught out.

Three flat gray jerseys labeled gray #808080, darkgray #A9A9A9 and lightgray #D3D3D3, showing darkgray lighter than gray
CSS names mislead: darkgray (#A9A9A9) is lighter than gray (#808080), so trust the hex codes.

How to use light gray in web and UI design

Light gray is a workhorse for the parts of an interface that should be felt rather than noticed. It is rarely the star, but it holds a layout together.

Borders, dividers and disabled states

Hairlines, table rules, card outlines and disabled buttons all suit . Keep it for decoration and for states that are meant to look inactive. Do not use it as the only edge of an input field, for reasons covered in the next section.

:root {
  --gray-200: #D3D3D3;
  --gray-100: #F2F2F2;
}
.divider { border-top: 1px solid var(--gray-200); }
.card    { background: var(--gray-100); }
.btn[disabled] { background: lightgray; color: #595959; }

Backgrounds and dark mode

On a light theme, is strong for a sidebar or a code block, since it separates areas without needing a border. On a dark theme it flips roles and becomes a soft text color. On a background it gives roughly 12.5:1, which is bright enough to read comfortably and gentler than pure white.

Is light gray accessible? The contrast ratios

Light gray is a background color first and a text color almost never. I computed these ratios from the WCAG relative luminance formula, using 0.651 as the luminance of :

  • on : about 1.50:1
  • on : about 14.0:1
  • on : about 8.4:1
  • on : about 4.7:1

The target for body text is 4.5:1 at level AA, so light gray text on white fails by a wide margin. Large text needs 3:1 and so do the visual edges of controls such as input borders, and 1.5:1 does not reach that either. On a background, dark gray text from downward passes for body copy.

You use a 1px #D3D3D3 border around an input on a white page. What is the problem?

WCAG asks for 3:1 against the background for the edges that identify a control, and #D3D3D3 on white only reaches about 1.5:1.

On a client dashboard I once found placeholder text and field borders both set to this exact gray. Users could not tell where to type. Moving the border to , which gives 4.54:1 on white, fixed it without changing the soft look of the rest of the page.

Light gray in branding, print and fashion

In branding, light gray signals calm, order and precision. You see it in architecture studios, hardware, finance and software, usually as the large quiet field around one accent color. It also pairs well with metallic finishes, since it echoes brushed steel without the shine.

Print needs more care than screens. A 17% black tint is made of halftone dots, and on uncoated paper those dots spread, so the gray can come back darker than the screen suggested. A proof once surprised me by looking a full step heavier than my monitor, and the fix was to lighten the build slightly and approve against a physical swatch. For brand-critical grays, ask the printer about a spot ink instead of a tint.

In fashion, light gray appears as heather knitwear, flannel suiting and soft athleisure. It is forgiving against most skin tones and works as a base under bolder pieces. Cool pinks and deep blues sit especially well against it.

Light gray for walls, furniture and interiors

Light gray walls suit rooms that want to feel open without the starkness of white. The same paint looks different through the day, cooler in north-facing light and warmer under a south-facing window or yellow bulbs. A gray that looked neutral in the shop can turn faintly blue or green once it covers a whole wall.

Screen codes do not translate to paint exactly, so treat as a guide to lightness and pick a real swatch. Paint a large sample, look at it morning and evening, and hold it next to your flooring and fabrics. Warm woods and brass make light gray feel crisp, while cooler floors can make it feel flat.

Furniture and textiles in light gray hide dust and fingerprints better than white, and they give a quiet backdrop for artwork. Keep one or two natural materials in the room so the gray reads as soft, not sterile.

Colors that go with light gray

Light gray accepts almost any partner, so choose by mood. Dark blue gives a corporate, trustworthy pair with strong contrast. Mauve pink adds warmth and a gentle, modern feel. Mint green feels fresh and clean, and pastel blue keeps everything soft and airy.

Horizontal bar split 60/30/10 into white, light gray and cardinal red beside a small UI mockup using the same split
Let white carry most of the page, light gray the surfaces, and keep the accent to a tenth.

For energy, use a single saturated accent such as cardinal red. A light gray field makes a strong red look sharper without any extra effort. Black and white also work, and a 60/30/10 split of white, light gray and an accent is a dependable layout rule.

Try this: Build a small card with a background and text. Add one accent color on a single button only. If the accent shows up more than twice on screen, remove it from one place and see how much calmer the card feels.

Four light gray palettes to copy

Each palette below has five codes in light-to-dark order, so you can drop them straight into a design file or a CSS variable block. Every one keeps as the quiet middle layer.

Studio Concrete

Portfolio sites, dashboards and quiet editorial layouts with a strong black.

Harbor Fog

Calm business sites, banks and SaaS products that need trust.

Blush Slate

Soft branding, stationery and wedding suites with a modern edge.

Sage Linen

Interiors, wellness brands and natural packaging with a calm feel.

Studio Concrete is a pure neutral scale for dashboards and editorial pages. Harbor Fog adds blue for trust, Blush Slate brings in muted pink and plum, and Sage Linen leans natural with soft greens. Use the palette maker at the top of the page if you want to explore complementary or triadic variations of the same gray.

Colors close to light gray

Light Gray Color: questions people ask

What is the hex code for light gray?

The hex code for light gray is #D3D3D3. In RGB it is rgb(211, 211, 211), in HSL it is hsl(0, 0%, 83%), and in CSS you can simply write the keyword lightgray.

Is light gray the same as light grey?

Yes. Gray is the American spelling and grey is the British one, and in CSS both lightgray and lightgrey resolve to exactly #D3D3D3.

Is light gray a warm or cool color?

Strictly neither. #D3D3D3 has equal red, green and blue values, so it has no hue. It tends to look cooler beside warm colors like wood or orange, and warmer beside blues.

What is the difference between light gray and silver?

Silver (#C0C0C0) is a little darker than light gray (#D3D3D3), and the name suggests metal. Both are neutral, but silver has more weight and reads as more substantial on screen.

Can I use light gray for text?

Only on dark backgrounds. On white, #D3D3D3 has a contrast ratio of about 1.5:1, far below the 4.5:1 that WCAG AA asks for body text. On near black it works well.

Keep exploring