Color Palettes

Gainsboro color

A very light, neutral gray. It is a standard web color, named after the English painter Thomas Gainsborough, and is used for borders and soft backgrounds.

Also known as: Pale gray.

The hex code for gainsboro is #DCDCDC. In RGB it is rgb(220, 220, 220), in HSL hsl(0, 0%, 86%) and in CMYK 0, 0, 0, 14.

See it in real life

Pick a color to pair it with and see how it looks on clothes, interiors and design.

Colors similar to gainsboro

Platinum#E5E4E2Light gray#D3D3D3Timberwolf#DBD7D2Pearl gray#D1D0CEAlabaster#EDEAE0Chalk white#EDEAE0

About gainsboro

Gainsboro (#DCDCDC) is a neutral, light, almost unsaturated color. It belongs to the grays family. It mixes 220 red, 220 green and 220 blue (out of 255). It is mostly used in web, borders, backgrounds.

Swatch of Gainsboro with its shades from light to dark · #DCDCDC
Gainsboro · #DCDCDC

Gainsboro shades and tints

From lightest to darkest. Tap a shade to copy its code.

See all its shades: Color shades generator

Gainsboro outfits: palettes by season

Outfit palettes with gainsboro or a very close shade, each with 8 outfits to copy.

MinimalistSpring · MenOfficeSpring · MenMinimalistSummer · MenMinimalistWinter · MenBeachWinter · MenQuiet luxurySummer · MenBohoFall · MenQuiet luxuryFall · Men

Gainsboro color palettes

Copy the codes or open a palette in the editor to tweak it.

Monochromatic palette · Gainsboro
Analogous palette · Gainsboro
Complementary palette · Gainsboro
Triadic palette · Gainsboro
With neutrals palette · Gainsboro
With an accent palette · Gainsboro

Gainsboro contrast with text

White textContrast 1.4:1 · Not recommended
Black textContrast 15.3:1 · AAA

Based on WCAG 2.1 guidelines. Test other pairs in the contrast checker.

CSS code

:root {
  --gainsboro: #DCDCDC;
  --gainsboro-rgb: 220, 220, 220;
}
.bg { background-color: var(--gainsboro); }
.text { color: var(--gainsboro); }

Colors similar to gainsboro

PorcelainWhite smokeBoneLinen

Themed palettes with this color

More grays

GrayLight grayDark graySilverCharcoal graySlate grayAsh grayPearl grayOxford grayGraphiteTaupeSteel grayLead graySmoke grayStone grayPlatinumBlue grayGreigeGunmetal grayPewterCool grayDove grayLight slate grayNickel
Swatch of Gainsboro with its shades from light to dark · #DCDCDC
Swatch of Gainsboro with its shades from light to dark · #DCDCDC

Try this next

Name color paletteType a name and get your own color story palettePalette slot machinePull the lever and get a color paletteColor PlinkoDrop chips, bounce down the pegs, get a palette
See all free tools →

Frequently asked questions

What is the hex code for gainsboro?

The hex code for gainsboro is #DCDCDC. In RGB it is rgb(220, 220, 220), in HSL hsl(0, 0%, 86%) and in CMYK 0, 0, 0, 14.

What is the complementary color of gainsboro?

Its complement on the color wheel is #DCDCDC, close to gainsboro. Used in small doses, it works as an accent and adds strong contrast.

Can you use white text on gainsboro?

Use black text instead: the contrast with white is only 1.4:1, while with black it is 15.3:1.

Open in the color picker →