Use this color
Create with Gainsboro
Open a professional color tool with #DCDCDC already applied. Each configuration stays canonical to the tool and can be adjusted or shared.
CSS Utilities
--color-gainsboro: #DCDCDC;
.bg-gainsboro { background-color: #DCDCDC; }
.text-gainsboro { color: #DCDCDC; }Color meaning and use
About Gainsboro Color
Gainsboro uses HEX #DCDCDC, RGB 220, 220, 220, and HSL 0°, 0%, 86%. The dataset classifies it in the gray family with neutral temperature and light visual character.
No separate named-color neighbor is recorded for this entry. Its relative luminance is 0.7157; black contrast is 15.31:1 and white contrast is 1.37:1, making black the stronger of those two standard foreground choices.
WCAG Accessibility
Contrast checks for Gainsboro against black and white text.
Downloadable color reference infographic
Gainsboro Color Reference Infographic
Save a high-resolution infographic of Gainsboro, including its color values, coordinated palette, and black and white text contrast.

Color Harmonies
Variants
Pairings
Machine-readable data
Machine-Readable Color Data (JSON)
Perfect for CSS, design systems, automation, and AI ingestion.
hexCanonical HEX valuergbRed, green, blue channelshslHue, saturation, lightnesscmykApproximate print conversionwcagAA and AAA contrast optionsharmoniesMathematical harmony setsvariantsGenerated tone variantsnearestColorsKnowledge graph neighborsStructured sections
Color systems
{
"hex": "#DCDCDC",
"rgb": [
220,
220,
220
],
"hsl": [
0,
0,
86
],
"cmyk": [
0,
0,
0,
14
],
"luminance": 0.7157,
"contrast": {
"black": 15.31,
"white": 1.37
}
}WCAG
{
"AA": [
"#000000",
"#1A1A1A",
"#36454F"
],
"AAA": [
"#000000",
"#1A1A1A",
"#36454F"
]
}Harmonies
{
"complementary": "#DBDBDB",
"analogous": [
"#DBDBDB",
"#DBDBDB"
],
"triadic": [
"#DBDBDB",
"#DBDBDB"
],
"tetradic": [
"#DBDBDB",
"#DBDBDB",
"#DBDBDB"
],
"splitComplementary": [
"#DBDBDB",
"#DBDBDB"
],
"monochromatic": [
"#FFFFFF",
"#DCDCDC",
"#ADADAD"
]
}Variants
{
"light": "#FFFFFF",
"dark": "#ADADAD",
"saturated": "#E3D3D3",
"desaturated": "#DBDBDB",
"pastel": "#FFFFFF",
"neon": "#FFE0E0"
}Pairings
{
"best": [
"#000000",
"#DBDBDB",
"#DBDBDB",
"#DBDBDB"
],
"avoid": [
"#DBDBDB",
"#FFFFFF"
],
"neutral": [
"#1A1A1A",
"#F5F5F5",
"#E8E8E4"
],
"highContrast": [
"#000000"
],
"lowContrast": [
"#FFFFFF",
"#DBDBDB"
]
}Knowledge graph
{
"nearestColors": [
"aluminum",
"fog",
"chrome",
"platinum",
"light-gray"
],
"generatedPalettes": [
"gainsboro"
],
"generatedComparisons": [
"aluminum-vs-gainsboro",
"fog-vs-gainsboro"
],
"relatedFamilies": [
"/colors/by-family/gray",
"/colors/by-temperature/neutral",
"/colors/by-tone/light"
],
"relatedTools": [
"/harmonies/gainsboro",
"/wcag/gainsboro",
"/css/colors/gainsboro",
"/hex/dcdcdc",
"/tools/css-gradient-generator",
"/tools/color-palette-generator",
"/tools/css-color-mixer",
"/tools/contrast-checker"
],
"semanticRelations": {
"broader": [
"/colors/by-family/gray",
"/colors/by-temperature/neutral",
"/colors/by-tone/light"
],
"narrower": [
"/palettes/gainsboro"
],
"related": [
"/colors/aluminum",
"/colors/fog",
"/colors/chrome",
"/colors/platinum",
"/colors/light-gray",
"/compare/aluminum-vs-gainsboro",
"/compare/fog-vs-gainsboro",
"/harmonies/gainsboro",
"/wcag/gainsboro",
"/css/colors/gainsboro",
"/hex/dcdcdc",
"/tools/css-gradient-generator",
"/tools/color-palette-generator",
"/tools/css-color-mixer",
"/tools/contrast-checker"
]
}
}Full JSON dataset
{
"slug": "gainsboro",
"name": "Gainsboro",
"cssName": "gainsboro",
"hex": "#DCDCDC",
"family": "gray",
"temperature": "neutral",
"tone": [
"light"
],
"uses": [
"web design",
"CSS color systems",
"UI prototyping"
],
"psychology": {
"associations": [
"context dependent"
],
"contexts": [
"web interfaces",
"design systems",
"technical color references"
],
"avoidIn": [
"claims that require brand or cultural specificity"
]
},
"aliases": [
"gainsboro"
],
"sourceType": "standard",
"confidence": "high",
"sourceUrl": "https://www.w3.org/TR/css-color-4/#named-colors",
"origin": {
"type": "css",
"notes": "Standard CSS named color."
},
"reviewStatus": "auto",
"editorialNotes": "Generated from CSS named color data and computed color-system properties.",
"tags": [
"gray",
"neutral",
"light",
"web-design",
"css-color-systems",
"ui-prototyping",
"context-dependent"
],
"popularity": 67,
"rgb": [
220,
220,
220
],
"hsl": [
0,
0,
86
],
"cmyk": [
0,
0,
0,
14
],
"luminance": 0.7157,
"contrast": {
"black": 15.31,
"white": 1.37
},
"harmonies": {
"complementary": "#DBDBDB",
"analogous": [
"#DBDBDB",
"#DBDBDB"
],
"triadic": [
"#DBDBDB",
"#DBDBDB"
],
"tetradic": [
"#DBDBDB",
"#DBDBDB",
"#DBDBDB"
],
"splitComplementary": [
"#DBDBDB",
"#DBDBDB"
],
"monochromatic": [
"#FFFFFF",
"#DCDCDC",
"#ADADAD"
]
},
"variants": {
"light": "#FFFFFF",
"dark": "#ADADAD",
"saturated": "#E3D3D3",
"desaturated": "#DBDBDB",
"pastel": "#FFFFFF",
"neon": "#FFE0E0"
},
"wcag": {
"AA": [
"#000000",
"#1A1A1A",
"#36454F"
],
"AAA": [
"#000000",
"#1A1A1A",
"#36454F"
]
},
"css": {
"variable": "--color-gainsboro: #DCDCDC;",
"utility": ".bg-gainsboro { background-color: #DCDCDC; }",
"textUtility": ".text-gainsboro { color: #DCDCDC; }"
},
"nearestColors": [
"aluminum",
"fog",
"chrome",
"platinum",
"light-gray"
],
"generatedPalettes": [
"gainsboro"
],
"generatedComparisons": [
"aluminum-vs-gainsboro",
"fog-vs-gainsboro"
],
"relatedFamilies": [
"/colors/by-family/gray",
"/colors/by-temperature/neutral",
"/colors/by-tone/light"
],
"relatedTools": [
"/harmonies/gainsboro",
"/wcag/gainsboro",
"/css/colors/gainsboro",
"/hex/dcdcdc",
"/tools/css-gradient-generator",
"/tools/color-palette-generator",
"/tools/css-color-mixer",
"/tools/contrast-checker"
],
"semanticRelations": {
"broader": [
"/colors/by-family/gray",
"/colors/by-temperature/neutral",
"/colors/by-tone/light"
],
"narrower": [
"/palettes/gainsboro"
],
"related": [
"/colors/aluminum",
"/colors/fog",
"/colors/chrome",
"/colors/platinum",
"/colors/light-gray",
"/compare/aluminum-vs-gainsboro",
"/compare/fog-vs-gainsboro",
"/harmonies/gainsboro",
"/wcag/gainsboro",
"/css/colors/gainsboro",
"/hex/dcdcdc",
"/tools/css-gradient-generator",
"/tools/color-palette-generator",
"/tools/css-color-mixer",
"/tools/contrast-checker"
]
},
"pairings": {
"best": [
"#000000",
"#DBDBDB",
"#DBDBDB",
"#DBDBDB"
],
"avoid": [
"#DBDBDB",
"#FFFFFF"
],
"neutral": [
"#1A1A1A",
"#F5F5F5",
"#E8E8E4"
],
"highContrast": [
"#000000"
],
"lowContrast": [
"#FFFFFF",
"#DBDBDB"
]
}
}