Gainsboro Color
Gainsboro is a light gray with hex code #DCDCDC. Here are its RGB, HSL, CMYK and OKLCH values, tints and shades, matching colours and CSS.
Gainsboro color codes
| HEX | #DCDCDC | |
|---|---|---|
| RGB | rgb(220, 220, 220) | |
| HSL | hsl(0, 0%, 86%) | |
| HSV | 0°, 0%, 86% | |
| CMYK | 0%, 0%, 0%, 14% | |
| OKLCH | oklch(89.4% 0 89.9) | |
| Tailwind | bg-[#dcdcdc] |
Closest Tailwind colour: zinc-300 (#D4D4D8). Convert any colour in the Color Converter.
About Gainsboro
Gainsboro (#DCDCDC) is a light gray. In the RGB model it is 86% red, 86% green and 86% blue; its hue angle is 0°, with 0% saturation and 86% lightness. For print, the CMYK equivalent is 0% cyan, 0% magenta, 0% yellow and 14% black.
It is a neutral colour and appears in our shades of gray. Text on it reads best in black (15.3:1 contrast).
Gainsboro tints and shades
Tints mix gainsboro with white; shades mix it with black. Click to copy.
Colors that go with Gainsboro
Gainsboro is a neutral, so it works with almost any colour. These pairings use its tone with a hue added.
Complementary
Analogous
Triadic
Split complementary
Gainsboro contrast
- AA text fail
- AAA text fail
- AA large fail
- AA text pass
- AAA text pass
- AA large pass
Using Gainsboro in CSS
.brand {
color: #dcdcdc;
}
.button {
background: #dcdcdc;
color: #111;
}
.hero {
background: linear-gradient(135deg, #e8e8e8, #dcdcdc, #8f8f8f);
}Similar colors
Gradients with Gainsboro
Gainsboro FAQ
What color is Gainsboro?
Gainsboro is a light gray. Its hex code is #DCDCDC and it is a neutral colour.
What is the hex code for Gainsboro?
The hex code for Gainsboro is #DCDCDC. In RGB that is rgb(220, 220, 220), and in HSL hsl(0, 0%, 86%).
What is Gainsboro in CMYK?
Gainsboro is roughly C 0%, M 0%, Y 0%, K 14% in CMYK. Screen-to-print conversion depends on the printer profile, so check a proof for brand colours.
What colors go well with Gainsboro?
Gainsboro is a neutral and pairs with almost any colour; one saturated accent usually looks best.
Is white or black text better on Gainsboro?
Black text reads better on Gainsboro: 15.3:1 contrast, against 1.4:1 for white. WCAG asks for 4.5:1 for body text.
