Gainsboro #DCDCDC
Gainsboro is a light, desaturated gray color with a neutral cast. Defined as one of the 148 CSS named colors in the W3C CSS Color Module Level 4 specification.
Use cases: Backgrounds · Typography
Families: Silver Colors · Platinum Colors
Color values
| Format | Value | |
|---|---|---|
| HEX | #DCDCDC | |
| RGB | rgb(220, 220, 220) | |
| HSL | hsl(0, 0%, 86%) | |
| HSV | hsv(0, 0%, 86%) | |
| OKLCH | oklch(89.45% 0 0) | |
| OKLab | oklab(89.45% 0 0) | |
| CMYK | cmyk(0%, 0%, 0%, 13.7%) | |
| XYZ | xyz(68.0245, 71.5694, 77.9269) | |
| CIE-LAB | lab(87.8, -0.0, 0.0) | |
| CIE-LCH | lch(87.8, 0.0, 180.0°) | |
| Luminance | 0.716 (WCAG relative) |
Source: W3C CSS named color. CSS keyword: gainsboro.
Collections: Neutral Colors
Shade scale
Perceptual 50–950 scale, interpolated in CIE-LAB. Step 500 is the base color. Edit in the shade generator →
OKLCH ramp (perceptually uniform, modern CSS)
Shades (toward black)
Tints (toward white)
Tones (toward gray)
Color harmonies
Complementary
Edit in generator →Analogous
Edit in generator →Triadic
Edit in generator →Tetradic
Edit in generator →Square
Edit in generator →Split Complementary
Edit in generator →Monochromatic
Edit in generator →Accessibility & contrast
Best text on gainsboro
WCAG 2.1: AA needs ≥4.5:1 for normal text, ≥3:1 for large text and UI components; AAA needs ≥7:1 / ≥4.5:1. Open the contrast checker →
Color blindness preview
Simulation using the Machado et al. (2009) physiological model, severity 1.0. This is an approximation of perception — not a medical assessment.
Closest named colors
Nearest matches by CIEDE2000 perceptual distance (ΔE₀₀) across the full color database.
| Color | Name | ΔE₀₀ |
|---|---|---|
| Light Gray #D3D3D3 | 2.08 | |
| Fog #D8DCE0 | 2.46 | |
| Light Grey #D8DCD6 | 4.02 | |
| Whitesmoke #F5F5F5 | 5.39 | |
| Off White #FAF9F6 | 6.39 | |
| Silver #C0C0C0 | 6.77 |
Related colors
Colors that go with gainsboro
Top matches by hue harmony, contrast and saturation compatibility. See all 10 ranked combinations →
Values computed from the sRGB color model. CMYK is the naive sRGB conversion without an ICC profile. RGB percentages may differ between color-managed applications.