Gainsboro

A pale gray from a 1989 batch of paint-sample whites, lighter than the color CSS calls light gray.

Overview

Gainsboro is a light, perfectly neutral gray, like a pale overcast sky or unpainted plaster. Its code is #DCDCDC: red, green and blue all at 220 out of 255, about 86%. With no tint at all, it shows clearly as gray next to white and passes for an off-white beside darker grays. It is lighter than the CSS color called light gray, #D3D3D3, and darker than white smoke, #F5F5F5.

The name is the CSS keyword gainsboro. It isn’t in the X Window System’s color lists from before 1989. Paul Raveling, at USC’s Information Sciences Institute, added it in his 1989 revision as 220 220 220, the last of a block of light colors that he said were “copied from several Sinclair Paints color samples”, to give users better choices for light window backgrounds. Sinclair was a Los Angeles paint maker. The X11 release of December 1989 kept the value, the web adopted the list in 2001, and the code has never changed.

No record says where the name comes from. It is often said to honor the English painter Thomas Gainsborough, but his name ends in -ugh, and Wikipedia’s version of the claim, added in 2025, rests on a design blog that cites nothing. The 1955 ISCC-NBS dictionary, which gathers about 7,500 color names from older dictionaries and color cards, has neither spelling. If gainsboro was the name of a Sinclair paint, we found no copy of the color card to show it.

On screens, gainsboro needs dark text: black on it has a contrast of about 15.3:1, white only 1.37:1. Even CSS dim gray falls short for body text, at about 4:1, so use a gray of #595959 or darker. It works well for panels, table stripes and borders on white, and pairs with navy, charcoal, dusty rose and the warm whites from the same 1989 list.

HEX#DCDCDC
RGBrgb(220, 220, 220)
HSLhsl(0, 0%, 86%)
HSV0°, 0%, 86%
CMYK0, 0, 0, 14
OKLCHoklch(89.4% 0.000 89.9)
Every code converts from the HEX value #DCDCDC. #DCDCDC is the CSS keyword gainsboro, rgb(220, 220, 220), defined in the CSS Color Module Level 4 and first listed among the web’s color names in SVG 1.0 (2001). It comes from Paul Raveling’s 1989 revision of the X Window System’s color list (raveling.txt, 220 220 220), and the value has not changed since. No color dictionary defines gainsboro. CMYK is a screen-based estimate; print results vary.
Gainsboro color card, hex #DCDCDC: “A paint chip off the old block”

Gainsboro on the color map

No survey measures gainsboro itself, and the xkcd survey has no entry for it. People’s average light grey is almost exactly as light, with a faint green tint that puts it just left of the center line, inside the outline. CSS light gray sits on the center line a little lower, also inside. The outline is an approximate range, not a measured one.

Shades and tints

Tints with white

Shades with black

Tones with gray

Gainsboro sits in the middle. Tints add white, shades add black and tones add gray, in 10% steps out from it. Tap any swatch to copy its code.

Light and dark gainsboro

#EAEAEA
Pale gainsboroMixed 40% with white: a soft off-white, still clearly gray beside pure white.
#DCDCDC
GainsboroThe reference color. Unlike many X11 colors, it has no numbered steps.
#DBDBDB
Gray86The numbered X11 gray just below it, 219 219 219, part of the list’s gray scale since before 1989. On screen the two can’t be told apart.
#D3D3D3
Light grayThe CSS keyword lightgray, a step darker than gainsboro. In the first X11 list, light gray was much darker still, 168 168 168. See light gray
#B0B0B0
Mid gainsboroMixed 20% with black: a medium light gray, a little darker than the CSS keyword silver, #C0C0C0.
#848484
Dark gainsboroMixed 40% with black: a middle gray, still too light for text on gainsboro, at about 2.7:1.

Colors that go with gainsboro

Pairings that work in rooms, outfits and interfaces.

Gainsboro and ink

Clean and plain. Gainsboro as a panel color with near-black text and buttons.

Window gray and navy

A nod to the reason it was added: light window backgrounds. Navy for title bars and text, like an early desktop.

The paint-sample whites

Gainsboro with three of its neighbors from Raveling’s 1989 block of paint-sample colors: white smoke, antique white and misty rose. Soft and tonal.

The CSS grays

Gainsboro, light gray, silver and dim gray, lightest to darkest. Calm and orderly, good for dashboards and forms.

Gainsboro and dusty rose

Gentle and warm. Muted pink keeps the neutral gray from feeling cold.

Charcoal and gainsboro

A dark theme with gainsboro as the text color. Softer on the eyes than pure white.

Color-wheel palettes

Pick a palette to see where its colors sit on the color wheel. The caret marks gainsboro. Tap a band to copy its code.

A gray has no hue, so turning it around the wheel only gives the same gray back. Monochrome is the one wheel palette that works for it.

Similar colors

Champagne pink84%Almond83%Bone87%Pearl82%GainsboroPlatinum88%Light gray86%

Lined up by hue around gainsboro. Hover a color to see how similar it is.The bar under each name shows how similar it is. Similarity comes from the distance between the two colors in OKLab, a model of how we see color.

Gainsboro vs light gray

Gainsboro#DCDCDC · no hue
  • Lighter: all three channels at 220
  • Added in 1989 with the paint-sample whites
  • One spelling only, no gray in the name
Light gray#D3D3D3 · no hue
  • Darker: all three channels at 211
  • In the X11 list from the start, then 168
  • Also spelled lightgrey in CSS

Meaning

  • CSS keyword
  • From paint samples
  • Made for window backgrounds
  • Name unexplained

No study has looked at what gainsboro means to people. Color research tests broad words such as gray, never gainsboro, so the claims below are about the code’s record, the story told about its name and how it compares with the other light grays.

Filed with the paint-sample whites

Software record

Gainsboro is missing from the X11 color lists used before 1989 and from John Thomas’s 1989 list matched to crayons. It first appears in Paul Raveling’s 1989 revision, as 220 220 220: the last of 23 light colors at the top of his file, right after white smoke and just before white and black. Raveling wrote that this block was “copied from several Sinclair Paints color samples” to provide “a better choice for light-colored window backgrounds”. His notes don’t name the colors one by one.1, 2

A Los Angeles paint brand

Company history

Sinclair Paint Co. began as a single store that Frank Sinclair opened in Los Angeles in 1928. By the mid-1990s it ran the largest paint plant in Southern California and 60 stores in four states, selling mainly to professional painters and decorators. Raveling worked at USC’s Information Sciences Institute, which is based in Marina del Rey, also in the Los Angeles area. We found no Sinclair color card from the 1980s, so we couldn’t check whether one of its paints was called gainsboro.3, 4

The painter link is unsourced

Unsourced claim

Wikipedia’s “Shades of gray” says gainsboro is named after the English painter Thomas Gainsborough (1727–1788). That sentence was added on 14 March 2025, citing a design-tips page that gives no source, and the article on the painter picked it up two months later. Another site says the name came from one of Sinclair’s most popular paints, also without a source. The 1955 ISCC-NBS dictionary, with about 7,500 names from older color dictionaries and cards, has neither gainsboro nor Gainsborough.5, 6, 7

Lighter than light gray

Technical standard

In CSS, gainsboro is 220 220 220 and lightgray only 211 211 211, so the color without “light” in its name is the lighter one. The CSS standard itself says the names are “not even internally consistent”, noting that darkgray is lighter than gray. Light gray itself has moved: the first X11 list had it at 168 168 168, and John Thomas and Paul Raveling both raised it to 211 in 1989.8, 1

What people call light grey

Online survey

In Randall Munroe’s 2010 color survey, where people named colors shown on their own screens, the average light grey was #D8DCD6. That is almost exactly as light as gainsboro, with a faint green tint, and the two look nearly identical side by side. The survey has no entry for gainsboro.9

Sources (9)
  1. The X Window System’s color lists, hosted by Aubrey Jaffer, MIT CSAIL: the earlier list, old-rgb.txt (no gainsboro; light gray 168 168 168); John Thomas’s thomas.txt (no gainsboro; light gray 211 211 211); Paul Raveling’s raveling.txt (gainsboro 220 220 220); and the X Consortium’s rgb.txt, revision 10.41 of 20 February 1994. Checked against X11 Release 4’s mit/rgb/ directory in the release’s tape-1 archive at X.Org.
  2. Notes from Paul Raveling in the README of X11 Release 4’s mit/rgb/others/ directory (tape-1 archive), also quoted in Aubrey Jaffer, “Color-Name Dictionaries”, MIT CSAIL.
  3. PCI Magazine (13 June 2000). “Obituary: Frank Sinclair, 90; Built Small Paint Business into Major Regional Company”.
  4. Wikipedia, “USC Information Sciences Institute”.
  5. Wikipedia, “Shades of gray”, section “Gainsboro”, and the edit of 14 March 2025 that added the painter, citing Piktochart, “What Color is Gainsboro?”, which gives no source; Wikipedia, “Thomas Gainsborough”, edit of 12 May 2025.
  6. VistaCreate, “The meaning behind gainsboro”, which gives no source.
  7. Kelly, K. L. & Judd, D. B. (1955). The ISCC-NBS Method of Designating Colors and a Dictionary of Color Names. National Bureau of Standards Circular 553. PDF at NIST; searched for gainsboro and Gainsborough.
  8. W3C, CSS Color Module Level 4, named colors: gainsboro #dcdcdc, lightgray #d3d3d3, and the note that darkgray is lighter than gray.
  9. Randall Munroe (2010), “Color Survey Results”, and the survey’s 954 most common color names (light grey #d8dcd6), CC0.

History

No paint chart or dictionary entry for gainsboro survives. Its record starts in a 1989 software list, beside colors copied from a Los Angeles paint maker’s samples, and the story about a painter arrives only in 2025.

  1. 1928

    Frank Sinclair opens his first paint store in Los Angeles, the start of Sinclair Paint Co., later a major maker of house paints in California.1

  2. 1955

    The ISCC-NBS dictionary gathers about 7,500 color names from color dictionaries and color cards. Neither gainsboro nor Gainsborough is among them.2

  3. 1987

    The first X11 release ships a color list with light gray at 168 168 168 and no gainsboro.3, 4

  4. October 1989

    Paul Raveling at USC’s Information Sciences Institute posts a revised list. Its first block holds light colors “copied from several Sinclair Paints color samples”, ending with white smoke and gainsboro, 220 220 220. John Thomas’s list, tuned to crayons, posted the same month, has no gainsboro.3, 4, 5

  5. December 1989

    X11 Release 4 ships a merged color list, dated 7 December, that moves gainsboro near the top, after snow, ghost white and white smoke, and keeps its value.5

  6. 2001

    SVG 1.0 lists “gainsboro”, rgb(220, 220, 220), among the web’s color keywords.6

  7. 2011

    CSS Color Module Level 3 becomes a W3C Recommendation on June 7 and makes gainsboro, #dcdcdc, an official CSS keyword. Level 4 keeps it.7, 8

  8. 2025

    On 14 March, an edit to Wikipedia’s “Shades of gray” says gainsboro is named after Thomas Gainsborough, citing a design blog with no source. The painter’s own article repeats it in May.9

Sources (9)
  1. PCI Magazine (13 June 2000). “Obituary: Frank Sinclair, 90; Built Small Paint Business into Major Regional Company”.
  2. Kelly, K. L. & Judd, D. B. (1955). The ISCC-NBS Method of Designating Colors and a Dictionary of Color Names. National Bureau of Standards Circular 553. PDF at NIST.
  3. The X Window System’s color lists, hosted by Aubrey Jaffer, MIT CSAIL: old-rgb.txt, thomas.txt and raveling.txt, with the README notes quoted in “Color-Name Dictionaries”.
  4. Sexton, A. (12 March 2014). Reply on the history of the X11 colors, www-style mailing list, W3C, with the dates of the first X11 release and of Raveling’s and Thomas’s newsgroup posts.
  5. X Consortium (December 1989). X Window System, Version 11, Release 4: mit/rgb/rgb.txt (dated 7 December 1989) and mit/rgb/others/ (raveling.txt, thomas.txt and README), in the release’s tape-1 archive at X.Org.
  6. W3C (2001). Scalable Vector Graphics (SVG) 1.0, recognized color keyword names.
  7. W3C (2011). CSS Color Module Level 3, extended color keywords, W3C Recommendation, June 7, 2011.
  8. W3C, CSS Color Module Level 4, named colors: gainsboro, #dcdcdc, 220 220 220.
  9. Wikipedia, “Shades of gray”, edit of 14 March 2025, citing Piktochart, “What Color is Gainsboro?”; Wikipedia, “Thomas Gainsborough”, edit of 12 May 2025.

Questions

What color is gainsboro?

A light, neutral gray. Its code is #DCDCDC (RGB 220, 220, 220), the CSS keyword gainsboro. All three channels are equal, so it has no tint at all.

Is gainsboro named after Thomas Gainsborough?

No record says so. The name first appears in Paul Raveling’s 1989 X11 color list, among light colors he copied from Sinclair Paints samples, and his notes don’t explain any of the names. The painter’s name is spelled Gainsborough, and the claim on Wikipedia, added in 2025, cites a blog with no source.

Is gainsboro lighter than light gray?

Yes. Gainsboro (#DCDCDC) has all three channels at 220, CSS lightgray (#D3D3D3) at 211. The difference is small, but gainsboro is the lighter of the two.

What is the difference between gainsboro and silver?

Silver (#C0C0C0) is clearly darker, at 192 per channel, and is one of the 16 basic HTML colors. Gainsboro (#DCDCDC) came later, from the X11 color list, and sits between light gray and white smoke.

Is gainsboro a CSS color?

Yes. gainsboro is one of the CSS named colors. gainsboro, #DCDCDC and rgb(220, 220, 220) all give exactly the same color. It has been a web color keyword since SVG 1.0 in 2001.

What text color works on gainsboro?

Dark text. Black on gainsboro has a contrast of about 15.3:1. White reaches only about 1.4:1, and even CSS dim gray only about 4:1, short of the 4.5:1 needed for body text. A gray of #595959 or darker passes.

What colors go with gainsboro?

Near-black or navy for text, charcoal for a dark theme where gainsboro is the text color, dusty rose for warmth, and soft whites such as white smoke and antique white for a tonal look.