Gainsboro colour (#DCDCDC)

Gainsboro is very light a neutral grey with hex code #DCDCDC, one of the 148 named colours every browser understands, so you can write color: ${name} directly in CSS. In RGB it is 220, 220, 220; in HSL 0°, 0%, 86%. Use the tool to explore shades and harmonies.

✓ Runs in your browser — nothing uploaded Free, no sign-upNo watermark

How to use the Gainsboro colour

  1. The colour is pre-filled; click Explore to see all formats, shades and harmonies.
  2. Edit the value to try a variation.
  3. Copy the code you need.

Gainsboro in every format

FormatValue
HEX#DCDCDC
RGBrgb(220, 220, 220)
RGB (0–1)0.863, 0.863, 0.863
HSLhsl(0, 0%, 86%)
CMYK (approx.)0%, 0%, 0%, 14%
CSScolor: gainsboro;

Shades and tints of Gainsboro

Same hue and saturation, lightness from 90% to 10%:

#e6e6e6 #cccccc #b3b3b3 #999999 #808080 #666666 #4d4d4d #333333 #1a1a1a

Colours that go with Gainsboro

HarmonyColours
Complementary #dbdbdb
Triadic #dbdbdb #dbdbdb
Analogous #dbdbdb #dbdbdb

Similar named colours

The closest CSS named colours by RGB distance, useful when you need a keyword instead of a hex code or want a near match:

ColourHEXDifference
lightgray #d3d3d3very close
thistle #d8bfd8very close
lavender #e6e6faclose
antiquewhite #faebd7close
beige #f5f5dcclose

Accessibility

Contrast ratio of Gainsboro against white is 1.37:1 (fails WCAG AA for normal text) and against black 15.31:1 (passes). Use black or very dark text on a Gainsboro background rather than white.

Frequently asked questions

What is the hex code for Gainsboro?

#DCDCDC.

What is Gainsboro in RGB?

rgb(220, 220, 220).

What colour is complementary to Gainsboro?

#dbdbdb, directly opposite on the colour wheel.

Privacy

This tool runs entirely inside your browser using WebAssembly and the Canvas/File APIs. Your files are never uploaded to ToolFlint or any third party; you can verify this in your browser's network tab or by switching to airplane mode after the page loads. Read how we process files.

Last updated 2026-09-23.