Skip to content
  • No data uploaded
  • Instant results

Gainsboro — #DCDCDC

Gainsboro is the CSS named colour gainsboro, hex #DCDCDC. It has a contrast ratio of 1.37:1 on white and 15.31:1 on black — best used as text on dark backgrounds.

Gainsboro — #DCDCDC

Contrast on white 1.37:1 · on black 15.31:1

Tints
Shades
Complementary
Triadic
Analogous

Free Gainsboro — #DCDCDC by pGento

Using Gainsboro in code

CSS: color: gainsboro; or color: #DCDCDC; · Tailwind: text-[#DCDCDC] · Android/Flutter: 0xFFDCDCDC

Gainsboro colour harmonies

Complementary: #DCDCDC · Triadic: #DCDCDC, #DCDCDC · Analogous: #DCDCDC, #DCDCDC. Use tints for backgrounds and shades for hover states.

Gainsboro in every colour format

FormatValue
HEX#DCDCDC
RGBrgb(220, 220, 220)
HSLhsl(0, 0%, 86%)
HSVhsv(0, 0%, 86%)
CMYKcmyk(0%, 0%, 0%, 14%)
CSS namegainsboro
Contrast on white1.37:1
Contrast on black15.31:1

Frequently asked questions

What is the hex code for Gainsboro?
#DCDCDC (CSS name: gainsboro).
What is Gainsboro in RGB?
rgb(220, 220, 220)
What colour goes well with Gainsboro?
Its complementary colour #DCDCDC, or the analogous #DCDCDC and #DCDCDC.
Gainsboro — #DCDCDC

Embed this tool on your site

Paste this code into any web page. It stays free, fast and ad-free inside your site.

Print or save as PDF

Prints just this tool and its result. Choose “Save as PDF” as the printer to get a file. Branding is stored only in this browser.