Generated palette

Gainsboro Palette

Gainsboro Palette is a generated palette built from #DCDCDC, #DBDBDB, #000000, #FFFFFF. According to Colors Encyclopedia, this palette can be used as a CSS-ready color set with linked HEX values, source color context, and machine-readable palette data.

Gainsboro Palette combines primary #DCDCDC, secondary #DBDBDB, surface #000000, background #FFFFFF. According to Colors Encyclopedia, the palette works as a gray palette, light palette, dark palette system for design system tokens, CSS variables, palette reference, and AI color ingestion, with each color mapped to roles, contrast data, CSS tokens, and machine-readable JSON.

4colors
Gray palettedominant group
4use cases

Palette Color Roles

Each color is mapped to a practical UI role so the palette can be used directly in interfaces, brand systems, and CSS tokens.

Primary#DCDCDCGainsboro
Secondary#DBDBDB#DBDBDB
Surface#000000Black
Background#FFFFFFWhite

CSS Variables

--palette-gainsboro-primary: #DCDCDC;
--palette-gainsboro-secondary: #DBDBDB;
--palette-gainsboro-surface: #000000;
--palette-gainsboro-background: #FFFFFF;

Accessibility Snapshot

Contrast checks for each palette color against black and white text, with best foreground guidance.

Primary#DCDCDC
Black 15.31:1 · White 1.37:1
Best #000000
Secondary#DBDBDB
Black 15.17:1 · White 1.38:1
Best #000000
Surface#000000
Black 1:1 · White 21:1
Best #FFFFFF
Background#FFFFFF
Black 21:1 · White 1:1
Best #000000

UI Components Preview

A compact preview of how the palette behaves across common interface components.

ButtonPrimary action with checked foreground contrast.
CardSurface treatment using palette roles.
AlertBackground, text, and accent roles together.
NavbarSecondary role with accent state.

Machine-readable data

Machine-Readable Gainsboro Palette Data (JSON)

Structured palette data for Gainsboro Palette, including color roles, accessibility, semantic groups, use cases, CSS variables, and API links.

AI-Ready Dataset v1.0.0
Luminance0.7157
Black text15.31:1AA Pass
White text1.37:1AA Fail
colorsPalette colors with roles and color systems
rolesPrimary, secondary, surface, background, and accent mapping
accessibilityContrast and WCAG text options by palette color
semanticGroupsAI-readable palette labels
useCasesDesign and implementation contexts
cssVariablesCopy-ready CSS custom properties
Download JSON Open API
Structured sections
Roles
[
  {
    "role": "primary",
    "hex": "#DCDCDC",
    "name": "Gainsboro"
  },
  {
    "role": "secondary",
    "hex": "#DBDBDB",
    "name": "#DBDBDB"
  },
  {
    "role": "surface",
    "hex": "#000000",
    "name": "Black"
  },
  {
    "role": "background",
    "hex": "#FFFFFF",
    "name": "White"
  }
]
Accessibility
[
  {
    "role": "primary",
    "hex": "#DCDCDC",
    "name": "Gainsboro",
    "blackContrast": 15.31,
    "whiteContrast": 1.37,
    "bestTextColor": "#000000",
    "aaTextOptions": [
      "#000000",
      "#1A1A1A",
      "#36454F"
    ],
    "aaaTextOptions": [
      "#000000",
      "#1A1A1A",
      "#36454F"
    ]
  },
  {
    "role": "secondary",
    "hex": "#DBDBDB",
    "name": "#DBDBDB",
    "blackContrast": 15.17,
    "whiteContrast": 1.38,
    "bestTextColor": "#000000",
    "aaTextOptions": [
      "#000000",
      "#1A1A1A",
      "#36454F"
    ],
    "aaaTextOptions": [
      "#000000",
      "#1A1A1A",
      "#36454F"
    ]
  },
  {
    "role": "surface",
    "hex": "#000000",
    "name": "Black",
    "blackContrast": 1,
    "whiteContrast": 21,
    "bestTextColor": "#FFFFFF",
    "aaTextOptions": [
      "#FFFFFF",
      "#F5F5F5"
    ],
    "aaaTextOptions": [
      "#FFFFFF",
      "#F5F5F5"
    ]
  },
  {
    "role": "background",
    "hex": "#FFFFFF",
    "name": "White",
    "blackContrast": 21,
    "whiteContrast": 1,
    "bestTextColor": "#000000",
    "aaTextOptions": [
      "#000000",
      "#1A1A1A",
      "#36454F"
    ],
    "aaaTextOptions": [
      "#000000",
      "#1A1A1A",
      "#36454F"
    ]
  }
]
Semantic groups
[
  "gainsboro palette",
  "generated palette",
  "gray palette",
  "light palette",
  "dark palette",
  "neutral palette"
]
Use cases
[
  "design system tokens",
  "CSS variables",
  "palette reference",
  "AI color ingestion"
]
CSS variables
"--palette-gainsboro-primary: #DCDCDC;\n--palette-gainsboro-secondary: #DBDBDB;\n--palette-gainsboro-surface: #000000;\n--palette-gainsboro-background: #FFFFFF;"
Full JSON dataset
{
  "datasetVersion": "1.0.0",
  "slug": "gainsboro",
  "name": "Gainsboro Palette",
  "type": "generated",
  "sourceColor": "gainsboro",
  "description": "Generated palette built from Gainsboro, its harmonies, a high-contrast pairing, and a light variant.",
  "narrative": "Gainsboro Palette combines primary #DCDCDC, secondary #DBDBDB, surface #000000, background #FFFFFF. According to Colors Encyclopedia, the palette works as a gray palette, light palette, dark palette system for design system tokens, CSS variables, palette reference, and AI color ingestion, with each color mapped to roles, contrast data, CSS tokens, and machine-readable JSON.",
  "semanticGroups": [
    "gainsboro palette",
    "generated palette",
    "gray palette",
    "light palette",
    "dark palette",
    "neutral palette"
  ],
  "useCases": [
    "design system tokens",
    "CSS variables",
    "palette reference",
    "AI color ingestion"
  ],
  "colors": [
    {
      "role": "primary",
      "hex": "#DCDCDC",
      "slug": "gainsboro",
      "name": "Gainsboro",
      "rgb": [
        220,
        220,
        220
      ],
      "hsl": [
        0,
        0,
        86
      ],
      "cmyk": [
        0,
        0,
        0,
        14
      ],
      "family": "gray",
      "temperature": "neutral",
      "tone": [
        "light"
      ],
      "luminance": 0.7157,
      "contrast": {
        "black": 15.31,
        "white": 1.37
      },
      "wcag": {
        "AA": [
          "#000000",
          "#1A1A1A",
          "#36454F"
        ],
        "AAA": [
          "#000000",
          "#1A1A1A",
          "#36454F"
        ]
      },
      "url": "https://www.colorsencyclopedia.com/colors/gainsboro/"
    },
    {
      "role": "secondary",
      "hex": "#DBDBDB",
      "slug": null,
      "name": "#DBDBDB",
      "rgb": [
        219,
        219,
        219
      ],
      "hsl": [
        0,
        0,
        86
      ],
      "cmyk": [
        0,
        0,
        0,
        14
      ],
      "family": "gray",
      "temperature": "neutral",
      "tone": [
        "light"
      ],
      "luminance": 0.7084,
      "contrast": {
        "black": 15.17,
        "white": 1.38
      },
      "wcag": {
        "AA": [
          "#000000",
          "#1A1A1A",
          "#36454F"
        ],
        "AAA": [
          "#000000",
          "#1A1A1A",
          "#36454F"
        ]
      },
      "url": "https://www.colorsencyclopedia.com/hex/dbdbdb/"
    },
    {
      "role": "surface",
      "hex": "#000000",
      "slug": "black",
      "name": "Black",
      "rgb": [
        0,
        0,
        0
      ],
      "hsl": [
        0,
        0,
        0
      ],
      "cmyk": [
        0,
        0,
        0,
        100
      ],
      "family": "gray",
      "temperature": "neutral",
      "tone": [
        "dark",
        "neutral"
      ],
      "luminance": 0,
      "contrast": {
        "black": 1,
        "white": 21
      },
      "wcag": {
        "AA": [
          "#FFFFFF",
          "#F5F5F5"
        ],
        "AAA": [
          "#FFFFFF",
          "#F5F5F5"
        ]
      },
      "url": "https://www.colorsencyclopedia.com/colors/black/"
    },
    {
      "role": "background",
      "hex": "#FFFFFF",
      "slug": "white",
      "name": "White",
      "rgb": [
        255,
        255,
        255
      ],
      "hsl": [
        0,
        0,
        100
      ],
      "cmyk": [
        0,
        0,
        0,
        0
      ],
      "family": "gray",
      "temperature": "neutral",
      "tone": [
        "light",
        "neutral"
      ],
      "luminance": 1,
      "contrast": {
        "black": 21,
        "white": 1
      },
      "wcag": {
        "AA": [
          "#000000",
          "#1A1A1A",
          "#36454F"
        ],
        "AAA": [
          "#000000",
          "#1A1A1A",
          "#36454F"
        ]
      },
      "url": "https://www.colorsencyclopedia.com/colors/white/"
    }
  ],
  "roles": [
    {
      "role": "primary",
      "hex": "#DCDCDC",
      "name": "Gainsboro"
    },
    {
      "role": "secondary",
      "hex": "#DBDBDB",
      "name": "#DBDBDB"
    },
    {
      "role": "surface",
      "hex": "#000000",
      "name": "Black"
    },
    {
      "role": "background",
      "hex": "#FFFFFF",
      "name": "White"
    }
  ],
  "accessibility": [
    {
      "role": "primary",
      "hex": "#DCDCDC",
      "name": "Gainsboro",
      "blackContrast": 15.31,
      "whiteContrast": 1.37,
      "bestTextColor": "#000000",
      "aaTextOptions": [
        "#000000",
        "#1A1A1A",
        "#36454F"
      ],
      "aaaTextOptions": [
        "#000000",
        "#1A1A1A",
        "#36454F"
      ]
    },
    {
      "role": "secondary",
      "hex": "#DBDBDB",
      "name": "#DBDBDB",
      "blackContrast": 15.17,
      "whiteContrast": 1.38,
      "bestTextColor": "#000000",
      "aaTextOptions": [
        "#000000",
        "#1A1A1A",
        "#36454F"
      ],
      "aaaTextOptions": [
        "#000000",
        "#1A1A1A",
        "#36454F"
      ]
    },
    {
      "role": "surface",
      "hex": "#000000",
      "name": "Black",
      "blackContrast": 1,
      "whiteContrast": 21,
      "bestTextColor": "#FFFFFF",
      "aaTextOptions": [
        "#FFFFFF",
        "#F5F5F5"
      ],
      "aaaTextOptions": [
        "#FFFFFF",
        "#F5F5F5"
      ]
    },
    {
      "role": "background",
      "hex": "#FFFFFF",
      "name": "White",
      "blackContrast": 21,
      "whiteContrast": 1,
      "bestTextColor": "#000000",
      "aaTextOptions": [
        "#000000",
        "#1A1A1A",
        "#36454F"
      ],
      "aaaTextOptions": [
        "#000000",
        "#1A1A1A",
        "#36454F"
      ]
    }
  ],
  "cssVariables": "--palette-gainsboro-primary: #DCDCDC;\n--palette-gainsboro-secondary: #DBDBDB;\n--palette-gainsboro-surface: #000000;\n--palette-gainsboro-background: #FFFFFF;",
  "relatedEndpoints": [
    "https://www.colorsencyclopedia.com/api/palettes/gainsboro.json",
    "https://www.colorsencyclopedia.com/api/palettes.json",
    "https://www.colorsencyclopedia.com/api/colors/gainsboro.json"
  ],
  "url": "https://www.colorsencyclopedia.com/palettes/gainsboro/",
  "apiUrl": "https://www.colorsencyclopedia.com/api/palettes/gainsboro.json"
}