Loona Automation logoLoona Design Studio
Home › Design Tools › Gainsboro

Gainsboro — #DCDCDC

In short: Gainsboro is #DCDCDC (RGB 220, 220, 220) — a neutral, light neutral (grey family) colour, with a full computed profile, shade scale and harmonies.

One of the 148 named colours defined by CSS — this page is its complete working profile: every format, WCAG contrast, a 50–950 shade scale and computed harmonies, all copy-ready.

Gainsboro#DCDCDC Neutral (grey family) · neutral · light · muted

Gainsboro values in every format

CSS namegainsboro
HEX#DCDCDC
RGBrgb(220, 220, 220)
RGB %86%, 86%, 86%
HSLhsl(0, 0%, 86%)
HSV / HSB0°, 0%, 86%
CMYK (print)0%, 0%, 0%, 14%
Relative luminance0.716
Contrast on black15.31 : 1
Contrast on white1.37 : 1
Best text colour on itBlack (15.31 : 1 — passes WCAG AA for normal text)

Named colours are defined in the CSS Color Module (W3C). Values on this page were computed with the same colour maths as Loona's Colour Converter and checked 9 November 2026.

Shades of Gainsboro (50–950)

50 #F7F7F7100 #EDEDED200 #D6D6D6300 #B8B8B8400 #949494500 #757575600 #5E5E5E700 #4A4A4A800 #383838900 #262626950 #171717

The scale keeps Gainsboro's hue (0°) and saturation (0%) and steps lightness — the same method as the Colour Shades Generator, so these steps drop straight into a design system.

Colour harmonies with Gainsboro

Complementary: #DCDCDC#DCDCDC

Analogous: #DCDCDC#DCDCDC#DCDCDC

Triadic: #DCDCDC#DCDCDC#DCDCDC

Split-complementary: #DCDCDC#DCDCDC#DCDCDC

Square: #DCDCDC#DCDCDC#DCDCDC#DCDCDC

Computed by rotating the hue wheel from 0°. Try them live in the Colour Harmony Generator.

Closest named colours

lightgray (#D3D3D3) · thistle (#D8BFD8) · lavender (#E6E6FA)

Using Gainsboro well

Gainsboro sits in the neutral (grey family) family at 86% lightness — a light, muted, neutral colour. As a background it pairs best with black text (15.31:1 contrast). Its complement (#DCDCDC) is the high-energy partner for calls-to-action and highlights; the analogous neighbours (#DCDCDC, #DCDCDC) give calm, same-family gradients. For print, start from the CMYK values above and proof — screen Gainsboro is an sRGB colour and rich screens shades can shift on press.

Popular Design Tools

Frequently Asked Questions

What is the hex code for Gainsboro?

#DCDCDC — the CSS named colour “gainsboro”. Its RGB is (220, 220, 220).

Is Gainsboro good for text or backgrounds?

As a background, black text reads best on it (15.31:1). As text itself on white it reaches 1.37:1 — not enough for body text at AA; use it for headings, large text or accents.

What colours go with Gainsboro?

Its complement #DCDCDC for contrast, analogous #DCDCDC and #DCDCDC for calm combinations, and the 50–950 shade scale above for monochrome designs.

What is Gainsboro in CMYK for printing?

C0 M0 Y0 K14. CMYK conversions of screen colours are a starting point — always proof before a print run.

Related