Gainsboro
Gainsboro is a very light neutral gray color with the hex code #DCDCDC (hue 0°, saturation 0%, lightness 86%). It is also the CSS named color gainsboro.
- HEX
#DCDCDC - RGB
rgb(220 220 220) - HSL
hsl(0 0% 86%) - OKLCH
oklch(89.4% 0.000 0)
| Name | HEX | RGB | HSL | CMYK | OKLCH | |
|---|---|---|---|---|---|---|
| Gainsboro | #DCDCDC | 220, 220, 220 | 0°, 0%, 86% | 0, 0, 0, 14 | 89.4% 0.000 0 |
Contrast with white text 1.37:1, with black text 15.31:1 — use black text on Gainsboro.
gainsboro is one of the 148 named colors in CSS, with exactly this value, so color: gainsboro works in any browser without a hex code.
Huebook · Maintained by Iris Marlow (pen name) · automated checks · Data: color-name-list (MIT) for names; CSS Color Module Level 4 (W3C) for CSS named colors · Updated · How the checks work
Adjust Gainsboro
Move the sliders to make Gainsboro lighter, darker, more or less vivid, or shift its hue. The nearest named colors update as you go.
- HEX
#DCDCDC - RGB
rgb(220 220 220) - HSL
hsl(0 0% 86%)
Variations of Gainsboro
Text on Gainsboro
WCAG 2 asks for 4.5:1 for body text and 3:1 for large text (AA), and 7:1 and 4.5:1 for the stricter AAA level.
Gainsboro with color blindness
How Gainsboro appears with a complete loss of red (protanopia), green (deuteranopia) or blue (tritanopia) cones, simulated with the Machado, Oliveira and Fernandes (2009) model. Red-green color blindness affects about 1 in 12 men and 1 in 200 women, so do not rely on color alone to carry meaning.
Tints and shades
Colors that go with Gainsboro
Six color schemes built on Gainsboro with classic harmony rules. The complementary scheme pairs it with Waterfront (#D4E4E5), the color opposite it on the color wheel.
- Gainsboro Complementary Color Scheme#DCDCDC#F4EFEE#D4E4E5#A4C8C8#F0F4F2
- Gainsboro Analogous Color Scheme#E4D4E2#E6D2DC#DCDCDC#E4DCD4#E6E5D3
- Gainsboro Triadic Color Scheme#DCDCDC#D2E6D3#D3D4E5#F4EFEE#A2C7A3
- Gainsboro Split-complementary Color Scheme#DCDCDC#D3E5DB#D3DDE4#C6A4A4#EFF5F1
- Gainsboro Tetradic Color Scheme#DCDCDC#DBE5D2#D4E4E5#DED3E6#F4EFEE
- Gainsboro Monochromatic Color Scheme#8E9090#B5B6B7#DCDCDC#F3F3F2#F3F3F2
Nearest CSS named colors
- Light Gray (
lightgray): Light Gray (#D3D3D3) is darker than Gainsboro (relative luminance 0.651 vs 0.716) and equally saturated. - Lavender (CSS) (
lavender): Lavender (CSS) (#E6E6FA) is lighter than Gainsboro (relative luminance 0.803 vs 0.716) and more saturated. - Powder Blue (
powderblue): Powder Blue (#B0E0E6) is about as light as Gainsboro (relative luminance 0.683 vs 0.716) and more saturated. - Misty Rose (
mistyrose): Misty Rose (#FFE4E1) is lighter than Gainsboro (relative luminance 0.822 vs 0.716) and more saturated.
Similar very light gray colors
- Alaska#DADAD1
- Apollo Landing#E5E5E1
- Big Fish to Fry#DADBE1
- Blowing Smoke#D2D1D0
- Chrome#E1DFE1
- Closet Skeletons#E1DED9
- Coconut Agony#EBE8E7
- Columbo’s Coat#D0CBCE
- Concrete#D2D1CD
- Day on Mercury#D5D2D1
- Desired Dawn#D8D7D9
- Diamonds in the Sky#E5E2E1
- Disco Ball#D4D4D4
- Distant Cloud#E5EAE6
- Drifting Cloud#DBE0E1
- Festive Ferret#DFDFE5
- Fog#D6D7D2
- Frozen Mammoth#DFD9DA
Questions
What is the hex code for Gainsboro?
#DCDCDC — RGB 220, 220, 220, HSL 0°, 0%, 86%.
Is Gainsboro a warm or cool color?
Warm — its hue sits at 0° on the color wheel.