Home /Colors /Gainsboro
Gainsboro#DCDCDC

Gainsboro color code is #DCDCDC. Use this page to get all code formats, explore shades and tints, and find colors that work with gainsboro.

ShadesTints
Preview
Text on White
White on Color
ShareSave to PinterestTweet

Explore Gainsboro

Gainsboro Accessibility & WCAG Contrast

Relative luminance of Gainsboro is 0.7157. Its WCAG contrast ratio is 1.37:1 against white and 15.31:1 against black. Use the card with the higher ratio for body text.

The quick brown fox
Gainsboro on white1.37:1Fail
The quick brown fox
Gainsboro on black15.31:1AAA
The quick brown fox
White on Gainsboro1.37:1Fail
The quick brown fox
Black on Gainsboro15.31:1AAA

Gainsboro — Frequently Asked Questions

What is the hex code for Gainsboro?+
The hex code for Gainsboro is #DCDCDC. In RGB it's rgb(220, 220, 220), and in HSL it's hsl(0, 0%, 86%).
What is the RGB value of Gainsboro?+
Gainsboro in RGB is (220, 220, 220). Written in CSS: rgb(220, 220, 220).
What is the CMYK value of Gainsboro?+
Gainsboro converts to CMYK(0%, 0%, 0%, 14%) for print. Hex equivalent is #DCDCDC.
Is gainsboro a warm or cool color?+
Gainsboro (#DCDCDC) is a neutral off-white — its hue sits at 0° on the color wheel, placing it in the neutral part of the spectrum.
What color family does gainsboro belong to?+
Gainsboro belongs to the off-white family. Its HSL is 0°, 0%, 86% — a neutral tone within the broader off-white group.
Is gainsboro accessible for body text on a white background?+
Gainsboro on white reaches a WCAG contrast ratio of 1.37:1 — below the AA threshold (4.5:1) for normal body text. Reserve for large headings or pair with a darker variant.
What is the closest Pantone match for gainsboro?+
The nearest Pantone match for Gainsboro (#DCDCDC) is 427 C Pantone 427 C, calculated by Euclidean RGB distance over the Pantone Matching System.

How to use Gainsboro in design

Practical guidance for using gainsboro (#DCDCDC) across four design contexts, derived from its hue, lightness, saturation, and WCAG contrast.

Web & UI design

Gainsboro (#DCDCDC) works well as a background color in dark UIs or as a button fill paired with white text — at 15.3:1 against black it's AAA-accessible for body text reversed onto it. Don't use it for text on a white background; 1.4:1 contrast won't pass AA.

Branding & identity

As a brand color, Gainsboro (#DCDCDC) reads as considered and grown-up and approachable and modern. It fits naturally into minimalist editorial, luxury fashion, wellness brands. Pair it with a single bold accent so it doesn't read as too quiet. Test legibility on both your logo and small UI text before locking it in — saturation that works on a 200px logo can feel overpowering at favicon scale.

Fashion & apparel

Gainsboro is a wardrobe-staple neutral. It pairs with everything, transitions across seasons, and is a safe choice for tailored pieces (suits, coats, trousers, dresses) where longevity matters more than seasonal trend. Layer it with one bolder accent (a vivid scarf, statement bag) to keep the look from reading as flat.

Interior design

Gainsboro is an excellent wall, ceiling, or large-surface color — its low saturation reads as calm and timeless without dating the room. Pairs well with warm wood, brushed brass, and natural fibers (linen, jute, wool). Avoid using it as a single accent against louder colors; it works best as the dominant "envelope" of a room, with one or two saturated accent pieces.