Gainsboro Color

Learn about Gainsboro (#dcdcdc): its uses in web design, HEX/RGB/HSL values, complementary and analogous color schemes, tints and shades, and accessibility contrast recommendations.

#dcdcdc
HEX #dcdcdc
RGB rgb(220, 220, 220)
HSL 0°, 0%, 86%

About Gainsboro Color

Gainsboro is a light, cool gray that works beautifully as a background for content areas and cards. It creates subtle separation without harsh contrast.

Use Cases for Gainsboro

card backgroundscontent separatorslight themesdisabled elementsloading skeletons

Shades & Tints of Gainsboro

#ffffff
#f6f6f6
#eeeeee
#e5e5e5
#dcdcdc
#a5a5a5
#6e6e6e
#373737
#000000

Complementary Color

#dcdcdc
#dbdbdb

Analogous Colors

#dbdbdb
#dcdcdc
#dbdbdb

CSS Code

.gainsboro-color {
  color: #dcdcdc;
}

Contrast Recommendations

Black text on Gainsboro
Ratio: 15.31:1 ✓ Passes AA ✓ Passes AAA
White text on Gainsboro
Ratio: 1.37:1 ✗ Fails AA ✗ Fails AAA

Frequently Asked Questions

What color is Gainsboro?

Gainsboro is represented by the hex code #dcdcdc and has RGB values of rgb(220, 220, 220). It falls under the Gray category.

How to use Gainsboro in web design?

Gainsboro works well for card backgrounds, content separators, light themes. Gainsboro is a light, cool gray that works beautifully as a background for content areas and cards. It creates subtle separation without harsh contrast. Use it as a primary color, accent, or background depending on your design needs.

What colors go with Gainsboro?

Colors that pair well with Gainsboro include lightgray, whitesmoke, silver, snow, aliceblue. For a complementary scheme, try #dbdbdb. For an analogous scheme, use #dbdbdb and #dbdbdb.