#DCDCDC

Gainsboro is a light, neutral shade in the gray color family, with a neutral feel. Its HEX code is #DCDCDC, which equals rgb(220, 220, 220) in RGB and hsl(0, 0%, 86%) in HSL. In print terms it converts to roughly C0 M0 Y0 K14, although exact CMYK results depend on the paper and color profile.

  • HEX#DCDCDC
  • RGB220, 220, 220
  • HSL0°, 0%, 86%
  • CMYK0, 0, 0, 14
  • FamilyGray
  • ToneLight, neutral

About Gainsboro

Gray shades are neutral and versatile. They provide calm backgrounds, readable text colors and borders, and let brighter accent colors stand out. Designers often reach for it as an accent, a button color or a background tint. Text in black is the most readable choice on this color, with a contrast ratio of 15.31:1. Its complementary color is #DBDBDB.

Download Gainsboro as an image

Choose a size and format, then download a solid-color image — or tick colors in the library to batch-download a ZIP.

Loading colors…

Custom color

#3B82F6

Shade scale

Tip: tick the checkbox on any swatch to add it to a batch ZIP. Everything is generated in your browser — nothing is uploaded to a server.

Gainsboro color codes

HEX#DCDCDC
RGBrgb(220, 220, 220)
HSLhsl(0, 0%, 86%)
HSV0°, 0%, 86%
CMYK0%, 0%, 0%, 14%
Decimal14474460

Shades and tints of Gainsboro

Lighter tints are mixed with white and darker shades are mixed with black.

  • 50#F9F9F9
  • 100#F3F3F3
  • 200#EEEEEE
  • 300#E8E8E8
  • 400#E2E2E2
  • 500#DCDCDC
  • 600#B7B7B7
  • 700#939393
  • 800#6E6E6E
  • 900#494949
  • 950#252525

Color harmonies for Gainsboro

Contrast and accessibility of Gainsboro

Text colorSampleContrast ratioWCAG
White text on GainsboroAa1.37:1Fails
Black text on GainsboroAa15.31:1AAA (excellent)

CSS code for Gainsboro

background-color: #DCDCDC;color: #DCDCDC;background-color: rgb(220, 220, 220);background-color: hsl(0, 0%, 86%);:root { --color-gainsboro: #DCDCDC; }class="bg-[#DCDCDC]"

Colors similar to Gainsboro

More gray shades

See all gray shades →

Frequently asked questions

What is the HEX code for Gainsboro?

The HEX code for Gainsboro is #DCDCDC.

What is the RGB value of Gainsboro?

Gainsboro has an RGB value of 220, 220, 220 (rgb(220, 220, 220)). In HSL it is 0°, 0%, 86%.

What text color should I use on Gainsboro?

Use black text on Gainsboro. White text has a contrast ratio of 1.37:1 and black text has 15.31:1; WCAG AA requires at least 4.5:1 for normal text.

What color goes well with Gainsboro?

The complementary color of Gainsboro is #DBDBDB. Analogous colors #DBDBDB and #DBDBDB also pair well.

Explore more