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.