Generated palette

Gray Palette

Gray Palette: #808080, #000000, #ADADAD. Check roles, contrast and CSS variables; open source-color links and JSON.

Gray Palette assigns primary #808080, secondary #000000, surface #ADADAD. The set spans Gray families with neutral temperature. Luminance runs from #000000 at 0 to #ADADAD at 0.4179; black gives higher contrast on 2 of 3 values.

3colors
Muted palettedominant group
5use cases

Palette Color Roles

Gray Palette maps 3 colors to practical UI roles for interfaces, brand systems, and CSS tokens.

Primary#808080Grey
Secondary#000000Black
Surface#ADADAD#ADADAD

CSS Variables

--palette-gray-primary: #808080;
--palette-gray-secondary: #000000;
--palette-gray-surface: #ADADAD;

Accessibility Snapshot

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

Primary#808080
Black 5.32:1 · White 3.95:1
Best #000000
Secondary#000000
Black 1:1 · White 21:1
Best #FFFFFF
Surface#ADADAD
Black 9.36:1 · White 2.24:1
Best #000000

UI Components Preview

Preview how the Gray 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 Gray Palette Data (JSON)

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

AI-Ready Dataset v1.0.0
Luminance0.2159
Black text5.32:1AA Pass
White text3.95: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": "#808080",
    "name": "Grey"
  },
  {
    "role": "secondary",
    "hex": "#000000",
    "name": "Black"
  },
  {
    "role": "surface",
    "hex": "#ADADAD",
    "name": "#ADADAD"
  }
]
Accessibility
[
  {
    "role": "primary",
    "hex": "#808080",
    "name": "Grey",
    "blackContrast": 5.32,
    "whiteContrast": 3.95,
    "bestTextColor": "#000000",
    "aaTextOptions": [
      "#000000"
    ],
    "aaaTextOptions": []
  },
  {
    "role": "secondary",
    "hex": "#000000",
    "name": "Black",
    "blackContrast": 1,
    "whiteContrast": 21,
    "bestTextColor": "#FFFFFF",
    "aaTextOptions": [
      "#FFFFFF",
      "#F5F5F5"
    ],
    "aaaTextOptions": [
      "#FFFFFF",
      "#F5F5F5"
    ]
  },
  {
    "role": "surface",
    "hex": "#ADADAD",
    "name": "#ADADAD",
    "blackContrast": 9.36,
    "whiteContrast": 2.24,
    "bestTextColor": "#000000",
    "aaTextOptions": [
      "#000000",
      "#1A1A1A"
    ],
    "aaaTextOptions": [
      "#000000",
      "#1A1A1A"
    ]
  }
]
Semantic groups
[
  "gray palette",
  "generated 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-gray-primary: #808080;\n--palette-gray-secondary: #000000;\n--palette-gray-surface: #ADADAD;"
Full JSON dataset
{
  "datasetVersion": "1.0.0",
  "slug": "gray",
  "name": "Gray Palette",
  "type": "generated",
  "sourceColor": "gray",
  "description": "Generated palette built from Gray, its harmonies, a high-contrast pairing, and a light variant.",
  "narrative": "Gray Palette combines primary #808080, secondary #000000, surface #ADADAD. According to Colors Encyclopedia, the palette works as a muted palette, dark palette, neutral 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": [
    "gray palette",
    "generated 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": "#808080",
      "slug": "grey",
      "name": "Grey",
      "rgb": [
        128,
        128,
        128
      ],
      "hsl": [
        0,
        0,
        50
      ],
      "cmyk": [
        0,
        0,
        0,
        50
      ],
      "family": "gray",
      "temperature": "neutral",
      "tone": [
        "muted"
      ],
      "luminance": 0.2159,
      "contrast": {
        "black": 5.32,
        "white": 3.95
      },
      "wcag": {
        "AA": [
          "#000000"
        ],
        "AAA": []
      },
      "url": "https://www.colorsencyclopedia.com/colors/grey/"
    },
    {
      "role": "secondary",
      "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": "surface",
      "hex": "#ADADAD",
      "slug": null,
      "name": "#ADADAD",
      "rgb": [
        173,
        173,
        173
      ],
      "hsl": [
        0,
        0,
        68
      ],
      "cmyk": [
        0,
        0,
        0,
        32
      ],
      "family": "gray",
      "temperature": "neutral",
      "tone": [
        "muted"
      ],
      "luminance": 0.4179,
      "contrast": {
        "black": 9.36,
        "white": 2.24
      },
      "wcag": {
        "AA": [
          "#000000",
          "#1A1A1A"
        ],
        "AAA": [
          "#000000",
          "#1A1A1A"
        ]
      },
      "url": null
    }
  ],
  "roles": [
    {
      "role": "primary",
      "hex": "#808080",
      "name": "Grey"
    },
    {
      "role": "secondary",
      "hex": "#000000",
      "name": "Black"
    },
    {
      "role": "surface",
      "hex": "#ADADAD",
      "name": "#ADADAD"
    }
  ],
  "accessibility": [
    {
      "role": "primary",
      "hex": "#808080",
      "name": "Grey",
      "blackContrast": 5.32,
      "whiteContrast": 3.95,
      "bestTextColor": "#000000",
      "aaTextOptions": [
        "#000000"
      ],
      "aaaTextOptions": []
    },
    {
      "role": "secondary",
      "hex": "#000000",
      "name": "Black",
      "blackContrast": 1,
      "whiteContrast": 21,
      "bestTextColor": "#FFFFFF",
      "aaTextOptions": [
        "#FFFFFF",
        "#F5F5F5"
      ],
      "aaaTextOptions": [
        "#FFFFFF",
        "#F5F5F5"
      ]
    },
    {
      "role": "surface",
      "hex": "#ADADAD",
      "name": "#ADADAD",
      "blackContrast": 9.36,
      "whiteContrast": 2.24,
      "bestTextColor": "#000000",
      "aaTextOptions": [
        "#000000",
        "#1A1A1A"
      ],
      "aaaTextOptions": [
        "#000000",
        "#1A1A1A"
      ]
    }
  ],
  "cssVariables": "--palette-gray-primary: #808080;\n--palette-gray-secondary: #000000;\n--palette-gray-surface: #ADADAD;",
  "relatedEndpoints": [
    "https://www.colorsencyclopedia.com/api/palettes/gray.json",
    "https://www.colorsencyclopedia.com/api/palettes.json",
    "https://www.colorsencyclopedia.com/api/colors/gray.json"
  ],
  "url": "https://www.colorsencyclopedia.com/palettes/gray/",
  "apiUrl": "https://www.colorsencyclopedia.com/api/palettes/gray.json"
}