Shades of Gray / Gainsboro

Gainsboro

Hex
#DCDCDC
RGB
220, 220, 220
HSL
0, 0%, 86%
CMYK
0%, 0%, 0%, 14%

What is Gainsboro?

Gainsboro is a pale, dead-neutral gray at #DCDCDC, one polite step down from white. It carries one of the strangest names in the web color canon, and nobody alive can fully explain it.

Read more

What sets gainsboro apart is that it has no undertone at all, with red, green, and blue sitting at identical values in the mix. That perfect balance separates it from its pale gray neighbors, light slate leaning blue on one side and light taupe gray leaning warm on the other.

Developers know it as a default, the classic gray of page borders and buttons that have been switched off. If you have used the internet, you have looked at gainsboro thousands of times without once catching its name.

What Gainsboro means and symbolizes

Gainsboro means neutrality taken nearly to vanishing, a silver gray that keeps out of the way on purpose. It is the color of margins and backgrounds, things designed not to interrupt.

Read more

Pale grays like this read as cleanliness and restraint, which is why galleries paint walls in this territory and let the art do the talking. Gainsboro flatters everything placed on it. That is a genuine power, even if it never gets the credit, because a background that argues with nothing lets every other color say exactly what it means.

The shadow meaning is anonymity. This is also the gray of the disabled button and the untouched form field, which gives it a faint air of waiting for something to happen. Whether it reads as gallery or as waiting room depends entirely on what you put next to it.

The story of Gainsboro

Gainsboro's documented history starts in the X11 color list, the file that named the colors on early computer screens. The name is usually connected to the painter Thomas Gainsborough, though nobody wrote down why.

Read more

Gainsboro is one of the original X11 color names, born in the rgb.txt file that told 1980s workstation screens what to call their colors. That list was put together informally and its choices were never documented, and when the web later absorbed the X11 set into CSS, gainsboro rode along. It is now a valid color word in every browser on earth, odd spelling and all.

The favorite explanation points at Thomas Gainsborough, the 18th-century English portraitist famous for silvery grays and for The Blue Boy. His canvases lean on exactly this kind of pale, pearly gray, so the link feels right. But no one who built the list recorded the reasoning, so the connection stays a good story rather than a documented fact, missing 3 letters and any paper trail.

Gainsboro in nature

Overcast noon light, birch bark, wood ash, and fresh fog before it thickens all sit near gainsboro.

Colors that go with Gainsboro

Gainsboro pairs with nearly everything because it argues with nothing. Use it under saturated colors as a softer white, next to charcoal for a quiet tonal scheme, or with warm woods that supply the heat it lacks.

Read more

The one thing to respect is contrast. Gainsboro against white barely registers, which is either a subtle layering move or an invisible one depending on the screen and the light. Give it a proper dark anchor somewhere in the scheme and it stops being fog and starts being structure.

Complementary
#DCDCDC#DCDCDC
Analogous
#DCDCDC#DCDCDC#DCDCDC
Triadic
#DCDCDC#DCDCDC#DCDCDC
Split complement
#DCDCDC#DCDCDC#DCDCDC
Tetradic
#DCDCDC#DCDCDC#DCDCDC#DCDCDC
Monochromatic
#242424#424242#616161#808080#9E9E9E#BFBFBF#E0E0E0

How to make Gainsboro

Gainsboro starts as white with the smallest measured touch of black, mixed patiently until the gray barely shows. The exact ratios live in our recipe guides.

Shades, tints and tones of Gainsboro

Tints (add white)
Platinum#E0E0E0Platinum#E4E4E4Platinum#E8E8E8Isabelline#ECECECMarble White#F1F1F1Cultured#F5F5F5Cotton#F9F9F9Baby Powder#FDFDFD
Shades (add black)
Silver#C2C2C2Quick Silver#A8A8A8Pewter#8E8E8ESonic Silver#747474Shadow Gray#5B5B5BDark Gray#414141Caviar#272727Midnight Black#0D0D0D
Tones (add gray)
Light Gray#D1D1D1Mist#C6C6C6Gray (X11)#BCBCBCHeather Gray#B1B1B1Quick Silver#A6A6A6Spanish Gray#9B9B9BConcrete#909090Battleship Gray#858585

Gainsboro color codes

All conversion formats
HEX#DCDCDC
RGBrgb(220, 220, 220)
RGB %86%, 86%, 86%
HSLhsl(0, 0%, 86%)
HSV0, 0%, 86%
CMYK0%, 0%, 0%, 14%
Web-safe#CCCCCC
CSScolor: #DCDCDC;

Gainsboro contrast and accessibility

On white
The quick brown fox
1.4:1 Fail
On black
The quick brown fox
15.3:1 AA / AAA
Color-blindness simulation
NormalProtanopiaDeuteranopiaTritanopia

Frequently asked questions

What is gainsboro?

Gainsboro is a light neutral gray at #DCDCDC, a named color since the X11 screen palette of the 1980s and now part of the CSS standard. The name is usually linked to the painter Thomas Gainsborough, though whoever coined it never explained the choice.

What is the hex color of gainsboro?

Gainsboro's hex code is #DCDCDC, which sets red, green, and blue to an identical 220 of 255. Those equal channels are why it reads perfectly neutral, with no warm or cool lean in any light.