Named color

Gainsboro

Gainsboro is a light gray color with HEX #DCDCDC. According to Colors Encyclopedia, it has RGB 220, 220, 220, HSL 0, 0%, 86%, neutral temperature, and is useful for web design, CSS color systems, and UI prototyping.

HEX #DCDCDC
RGB rgb(220, 220, 220)
HSL hsl(0 0% 86%)
CMYK cmyk(0, 0, 0, 14)
Luminance 0.7157
Contrast Black 15.31:1White 1.37:1

CSS Utilities

--color-gainsboro: #DCDCDC;
.bg-gainsboro { background-color: #DCDCDC; }
.text-gainsboro { color: #DCDCDC; }

Machine-readable data

Machine-Readable Color Data (JSON)

Perfect for CSS, design systems, automation, and AI ingestion.

AI-Ready Dataset v1.0.0
Luminance0.7157
Black text15.31:1AA Pass
White text1.37:1AA Fail
hexCanonical HEX value
rgbRed, green, blue channels
hslHue, saturation, lightness
cmykApproximate print conversion
wcagAA and AAA contrast options
harmoniesMathematical harmony sets
variantsGenerated tone variants
nearestColorsKnowledge graph neighbors
Download JSON Open API
Structured 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"
  ],
  "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"
    ]
  }
}
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"
  ],
  "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"
    ]
  },
  "pairings": {
    "best": [
      "#000000",
      "#DBDBDB",
      "#DBDBDB",
      "#DBDBDB"
    ],
    "avoid": [
      "#DBDBDB",
      "#FFFFFF"
    ],
    "neutral": [
      "#1A1A1A",
      "#F5F5F5",
      "#E8E8E4"
    ],
    "highContrast": [
      "#000000"
    ],
    "lowContrast": [
      "#FFFFFF",
      "#DBDBDB"
    ]
  }
}

Color meaning and use

About Gainsboro Color

Gainsboro sits in the gray family with neutral temperature and light visual character. Standard CSS named color.

Its common associations include context dependent, which makes it relevant for web interfaces and design systems. In design work, Gainsboro is most useful for web design, css color systems, and ui prototyping, especially when paired with black text for stronger contrast.

WCAG Accessibility

Contrast checks for Gainsboro against black and white text.

Black text15.31:1AA Pass
White text1.37:1AA Fail
AA text options#000000, #1A1A1A, #36454F
AAA text options#000000, #1A1A1A, #36454F

Similar Colors

Color Harmonies

#DBDBDB#DBDBDB
#DBDBDB#DBDBDB
#DBDBDB#DBDBDB
#DBDBDB#DBDBDB
#DBDBDB#DBDBDB

Variants

White#FFFFFF
#ADADAD#ADADAD
#E3D3D3#E3D3D3
#DBDBDB#DBDBDB
White#FFFFFF
#FFE0E0#FFE0E0

Pairings

Black#000000
#DBDBDB#DBDBDB
#DBDBDB#DBDBDB
#DBDBDB#DBDBDB
Matte Black#1A1A1A
White Smoke#F5F5F5