Generated palette

Dark Grey Palette

Dark Grey Palette: #A9A9A9, #A8A8A8, #000000, #D6D6D6. Check roles, contrast and CSS variables; open source-color links and JSON.

Dark Grey Palette assigns primary #A9A9A9, secondary #A8A8A8, surface #000000, background #D6D6D6. The set spans Gray families with neutral temperature. Luminance runs from #000000 at 0 to #D6D6D6 at 0.6724; black gives higher contrast on 3 of 4 values.

4colors
Gray palettedominant group
5use cases

Palette Color Roles

Dark Grey Palette maps 4 colors to practical UI roles for interfaces, brand systems, and CSS tokens.

Primary#A9A9A9Dark Grey
Secondary#A8A8A8#A8A8A8
Surface#000000Black
Background#D6D6D6#D6D6D6

CSS Variables

--palette-dark-grey-primary: #A9A9A9;
--palette-dark-grey-secondary: #A8A8A8;
--palette-dark-grey-surface: #000000;
--palette-dark-grey-background: #D6D6D6;

Accessibility Snapshot

Compare all 4 Dark Grey Palette values against black and white text, with the stronger standard foreground identified for each role.

Primary#A9A9A9
Black 8.94:1 · White 2.35:1
Best #000000
Secondary#A8A8A8
Black 8.83:1 · White 2.38:1
Best #000000
Surface#000000
Black 1:1 · White 21:1
Best #FFFFFF
Background#D6D6D6
Black 14.45:1 · White 1.45:1
Best #000000

UI Components Preview

Preview how the Dark Grey Palette roles behave together across common interface components before copying the CSS variables.

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 Dark Grey Palette Data (JSON)

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

AI-Ready Dataset v1.0.0
Luminance0.3968
Black text8.94:1AA Pass
White text2.35: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": "#A9A9A9",
    "name": "Dark Grey"
  },
  {
    "role": "secondary",
    "hex": "#A8A8A8",
    "name": "#A8A8A8"
  },
  {
    "role": "surface",
    "hex": "#000000",
    "name": "Black"
  },
  {
    "role": "background",
    "hex": "#D6D6D6",
    "name": "#D6D6D6"
  }
]
Accessibility
[
  {
    "role": "primary",
    "hex": "#A9A9A9",
    "name": "Dark Grey",
    "blackContrast": 8.94,
    "whiteContrast": 2.35,
    "bestTextColor": "#000000",
    "aaTextOptions": [
      "#000000",
      "#1A1A1A"
    ],
    "aaaTextOptions": [
      "#000000",
      "#1A1A1A"
    ]
  },
  {
    "role": "secondary",
    "hex": "#A8A8A8",
    "name": "#A8A8A8",
    "blackContrast": 8.83,
    "whiteContrast": 2.38,
    "bestTextColor": "#000000",
    "aaTextOptions": [
      "#000000",
      "#1A1A1A"
    ],
    "aaaTextOptions": [
      "#000000",
      "#1A1A1A"
    ]
  },
  {
    "role": "surface",
    "hex": "#000000",
    "name": "Black",
    "blackContrast": 1,
    "whiteContrast": 21,
    "bestTextColor": "#FFFFFF",
    "aaTextOptions": [
      "#FFFFFF",
      "#F5F5F5"
    ],
    "aaaTextOptions": [
      "#FFFFFF",
      "#F5F5F5"
    ]
  },
  {
    "role": "background",
    "hex": "#D6D6D6",
    "name": "#D6D6D6",
    "blackContrast": 14.45,
    "whiteContrast": 1.45,
    "bestTextColor": "#000000",
    "aaTextOptions": [
      "#000000",
      "#1A1A1A",
      "#36454F"
    ],
    "aaaTextOptions": [
      "#000000",
      "#1A1A1A"
    ]
  }
]
Semantic groups
[
  "dark grey palette",
  "generated palette",
  "gray palette",
  "muted palette",
  "dark palette",
  "neutral palette"
]
Use cases
[
  "design system tokens",
  "CSS variables",
  "palette reference",
  "AI color ingestion",
  "quiet UI themes"
]
CSS variables
"--palette-dark-grey-primary: #A9A9A9;\n--palette-dark-grey-secondary: #A8A8A8;\n--palette-dark-grey-surface: #000000;\n--palette-dark-grey-background: #D6D6D6;"
Full JSON dataset
{
  "datasetVersion": "1.0.0",
  "slug": "dark-grey",
  "name": "Dark Grey Palette",
  "type": "generated",
  "sourceColor": "dark-grey",
  "description": "Generated palette built from Dark Grey, its harmonies, a high-contrast pairing, and a light variant.",
  "narrative": "Dark Grey Palette combines primary #A9A9A9, secondary #A8A8A8, surface #000000, background #D6D6D6. According to Colors Encyclopedia, the palette works as a gray palette, muted 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": [
    "dark grey palette",
    "generated palette",
    "gray palette",
    "muted palette",
    "dark palette",
    "neutral palette"
  ],
  "useCases": [
    "design system tokens",
    "CSS variables",
    "palette reference",
    "AI color ingestion",
    "quiet UI themes"
  ],
  "colors": [
    {
      "role": "primary",
      "hex": "#A9A9A9",
      "slug": "dark-grey",
      "name": "Dark Grey",
      "rgb": [
        169,
        169,
        169
      ],
      "hsl": [
        0,
        0,
        66
      ],
      "cmyk": [
        0,
        0,
        0,
        34
      ],
      "family": "gray",
      "temperature": "neutral",
      "tone": [
        "muted"
      ],
      "luminance": 0.3968,
      "contrast": {
        "black": 8.94,
        "white": 2.35
      },
      "wcag": {
        "AA": [
          "#000000",
          "#1A1A1A"
        ],
        "AAA": [
          "#000000",
          "#1A1A1A"
        ]
      },
      "url": "https://www.colorsencyclopedia.com/colors/dark-grey/"
    },
    {
      "role": "secondary",
      "hex": "#A8A8A8",
      "slug": null,
      "name": "#A8A8A8",
      "rgb": [
        168,
        168,
        168
      ],
      "hsl": [
        0,
        0,
        66
      ],
      "cmyk": [
        0,
        0,
        0,
        34
      ],
      "family": "gray",
      "temperature": "neutral",
      "tone": [
        "muted"
      ],
      "luminance": 0.3916,
      "contrast": {
        "black": 8.83,
        "white": 2.38
      },
      "wcag": {
        "AA": [
          "#000000",
          "#1A1A1A"
        ],
        "AAA": [
          "#000000",
          "#1A1A1A"
        ]
      },
      "url": null
    },
    {
      "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": "#D6D6D6",
      "slug": null,
      "name": "#D6D6D6",
      "rgb": [
        214,
        214,
        214
      ],
      "hsl": [
        0,
        0,
        84
      ],
      "cmyk": [
        0,
        0,
        0,
        16
      ],
      "family": "gray",
      "temperature": "neutral",
      "tone": [
        "muted"
      ],
      "luminance": 0.6724,
      "contrast": {
        "black": 14.45,
        "white": 1.45
      },
      "wcag": {
        "AA": [
          "#000000",
          "#1A1A1A",
          "#36454F"
        ],
        "AAA": [
          "#000000",
          "#1A1A1A"
        ]
      },
      "url": null
    }
  ],
  "roles": [
    {
      "role": "primary",
      "hex": "#A9A9A9",
      "name": "Dark Grey"
    },
    {
      "role": "secondary",
      "hex": "#A8A8A8",
      "name": "#A8A8A8"
    },
    {
      "role": "surface",
      "hex": "#000000",
      "name": "Black"
    },
    {
      "role": "background",
      "hex": "#D6D6D6",
      "name": "#D6D6D6"
    }
  ],
  "accessibility": [
    {
      "role": "primary",
      "hex": "#A9A9A9",
      "name": "Dark Grey",
      "blackContrast": 8.94,
      "whiteContrast": 2.35,
      "bestTextColor": "#000000",
      "aaTextOptions": [
        "#000000",
        "#1A1A1A"
      ],
      "aaaTextOptions": [
        "#000000",
        "#1A1A1A"
      ]
    },
    {
      "role": "secondary",
      "hex": "#A8A8A8",
      "name": "#A8A8A8",
      "blackContrast": 8.83,
      "whiteContrast": 2.38,
      "bestTextColor": "#000000",
      "aaTextOptions": [
        "#000000",
        "#1A1A1A"
      ],
      "aaaTextOptions": [
        "#000000",
        "#1A1A1A"
      ]
    },
    {
      "role": "surface",
      "hex": "#000000",
      "name": "Black",
      "blackContrast": 1,
      "whiteContrast": 21,
      "bestTextColor": "#FFFFFF",
      "aaTextOptions": [
        "#FFFFFF",
        "#F5F5F5"
      ],
      "aaaTextOptions": [
        "#FFFFFF",
        "#F5F5F5"
      ]
    },
    {
      "role": "background",
      "hex": "#D6D6D6",
      "name": "#D6D6D6",
      "blackContrast": 14.45,
      "whiteContrast": 1.45,
      "bestTextColor": "#000000",
      "aaTextOptions": [
        "#000000",
        "#1A1A1A",
        "#36454F"
      ],
      "aaaTextOptions": [
        "#000000",
        "#1A1A1A"
      ]
    }
  ],
  "cssVariables": "--palette-dark-grey-primary: #A9A9A9;\n--palette-dark-grey-secondary: #A8A8A8;\n--palette-dark-grey-surface: #000000;\n--palette-dark-grey-background: #D6D6D6;",
  "relatedEndpoints": [
    "https://www.colorsencyclopedia.com/api/palettes/dark-grey.json",
    "https://www.colorsencyclopedia.com/api/palettes.json",
    "https://www.colorsencyclopedia.com/api/colors/dark-grey.json"
  ],
  "url": "https://www.colorsencyclopedia.com/palettes/dark-grey/",
  "apiUrl": "https://www.colorsencyclopedia.com/api/palettes/dark-grey.json"
}