Generated palette

Zinc Palette

Zinc Palette: #7D7F7C, #7D7C7E, #7E7E7C, #7C7E7C. Check roles, contrast and CSS variables; open source-color links and JSON.

Zinc Palette assigns primary #7D7F7C, secondary #7D7C7E, surface #7E7E7C, background #7C7E7C, accent #000000. The set spans Gray families with neutral temperature. Luminance runs from #000000 at 0 to #7D7F7C at 0.2099; black gives higher contrast on 4 of 5 values.

5colors
Gray palettedominant group
5use cases

Palette Color Roles

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

Primary#7D7F7CZinc
Secondary#7D7C7E#7D7C7E
Surface#7E7E7C#7E7E7C
Background#7C7E7C#7C7E7C
Accent#000000Black

CSS Variables

--palette-zinc-primary: #7D7F7C;
--palette-zinc-secondary: #7D7C7E;
--palette-zinc-surface: #7E7E7C;
--palette-zinc-background: #7C7E7C;
--palette-zinc-accent: #000000;

Accessibility Snapshot

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

Primary#7D7F7C
Black 5.2:1 · White 4.04:1
Best #000000
Secondary#7D7C7E
Black 5.06:1 · White 4.15:1
Best #000000
Surface#7E7E7C
Black 5.16:1 · White 4.07:1
Best #000000
Background#7C7E7C
Black 5.13:1 · White 4.09:1
Best #000000
Accent#000000
Black 1:1 · White 21:1
Best #FFFFFF

UI Components Preview

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

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

AI-Ready Dataset v1.0.0
Luminance0.2099
Black text5.2:1AA Pass
White text4.04: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": "#7D7F7C",
    "name": "Zinc"
  },
  {
    "role": "secondary",
    "hex": "#7D7C7E",
    "name": "#7D7C7E"
  },
  {
    "role": "surface",
    "hex": "#7E7E7C",
    "name": "#7E7E7C"
  },
  {
    "role": "background",
    "hex": "#7C7E7C",
    "name": "#7C7E7C"
  },
  {
    "role": "accent",
    "hex": "#000000",
    "name": "Black"
  }
]
Accessibility
[
  {
    "role": "primary",
    "hex": "#7D7F7C",
    "name": "Zinc",
    "blackContrast": 5.2,
    "whiteContrast": 4.04,
    "bestTextColor": "#000000",
    "aaTextOptions": [
      "#000000"
    ],
    "aaaTextOptions": []
  },
  {
    "role": "secondary",
    "hex": "#7D7C7E",
    "name": "#7D7C7E",
    "blackContrast": 5.06,
    "whiteContrast": 4.15,
    "bestTextColor": "#000000",
    "aaTextOptions": [
      "#000000"
    ],
    "aaaTextOptions": []
  },
  {
    "role": "surface",
    "hex": "#7E7E7C",
    "name": "#7E7E7C",
    "blackContrast": 5.16,
    "whiteContrast": 4.07,
    "bestTextColor": "#000000",
    "aaTextOptions": [
      "#000000"
    ],
    "aaaTextOptions": []
  },
  {
    "role": "background",
    "hex": "#7C7E7C",
    "name": "#7C7E7C",
    "blackContrast": 5.13,
    "whiteContrast": 4.09,
    "bestTextColor": "#000000",
    "aaTextOptions": [
      "#000000"
    ],
    "aaaTextOptions": []
  },
  {
    "role": "accent",
    "hex": "#000000",
    "name": "Black",
    "blackContrast": 1,
    "whiteContrast": 21,
    "bestTextColor": "#FFFFFF",
    "aaTextOptions": [
      "#FFFFFF",
      "#F5F5F5"
    ],
    "aaaTextOptions": [
      "#FFFFFF",
      "#F5F5F5"
    ]
  }
]
Semantic groups
[
  "zinc 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-zinc-primary: #7D7F7C;\n--palette-zinc-secondary: #7D7C7E;\n--palette-zinc-surface: #7E7E7C;\n--palette-zinc-background: #7C7E7C;\n--palette-zinc-accent: #000000;"
Full JSON dataset
{
  "datasetVersion": "1.0.0",
  "slug": "zinc",
  "name": "Zinc Palette",
  "type": "generated",
  "sourceColor": "zinc",
  "description": "Generated palette built from Zinc, its harmonies, a high-contrast pairing, and a light variant.",
  "narrative": "Zinc Palette combines primary #7D7F7C, secondary #7D7C7E, surface #7E7E7C, background #7C7E7C, accent #000000. 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": [
    "zinc 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": "#7D7F7C",
      "slug": "zinc",
      "name": "Zinc",
      "rgb": [
        125,
        127,
        124
      ],
      "hsl": [
        100,
        1,
        49
      ],
      "cmyk": [
        2,
        0,
        2,
        50
      ],
      "family": "gray",
      "temperature": "neutral",
      "tone": [
        "muted"
      ],
      "luminance": 0.2099,
      "contrast": {
        "black": 5.2,
        "white": 4.04
      },
      "wcag": {
        "AA": [
          "#000000"
        ],
        "AAA": []
      },
      "url": "https://www.colorsencyclopedia.com/colors/zinc/"
    },
    {
      "role": "secondary",
      "hex": "#7D7C7E",
      "slug": null,
      "name": "#7D7C7E",
      "rgb": [
        125,
        124,
        126
      ],
      "hsl": [
        270,
        1,
        49
      ],
      "cmyk": [
        1,
        2,
        0,
        51
      ],
      "family": "gray",
      "temperature": "neutral",
      "tone": [
        "muted"
      ],
      "luminance": 0.2028,
      "contrast": {
        "black": 5.06,
        "white": 4.15
      },
      "wcag": {
        "AA": [
          "#000000"
        ],
        "AAA": []
      },
      "url": null
    },
    {
      "role": "surface",
      "hex": "#7E7E7C",
      "slug": null,
      "name": "#7E7E7C",
      "rgb": [
        126,
        126,
        124
      ],
      "hsl": [
        60,
        1,
        49
      ],
      "cmyk": [
        0,
        0,
        2,
        51
      ],
      "family": "gray",
      "temperature": "neutral",
      "tone": [
        "muted"
      ],
      "luminance": 0.2081,
      "contrast": {
        "black": 5.16,
        "white": 4.07
      },
      "wcag": {
        "AA": [
          "#000000"
        ],
        "AAA": []
      },
      "url": null
    },
    {
      "role": "background",
      "hex": "#7C7E7C",
      "slug": null,
      "name": "#7C7E7C",
      "rgb": [
        124,
        126,
        124
      ],
      "hsl": [
        120,
        1,
        49
      ],
      "cmyk": [
        2,
        0,
        2,
        51
      ],
      "family": "gray",
      "temperature": "neutral",
      "tone": [
        "muted"
      ],
      "luminance": 0.2066,
      "contrast": {
        "black": 5.13,
        "white": 4.09
      },
      "wcag": {
        "AA": [
          "#000000"
        ],
        "AAA": []
      },
      "url": null
    },
    {
      "role": "accent",
      "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/"
    }
  ],
  "roles": [
    {
      "role": "primary",
      "hex": "#7D7F7C",
      "name": "Zinc"
    },
    {
      "role": "secondary",
      "hex": "#7D7C7E",
      "name": "#7D7C7E"
    },
    {
      "role": "surface",
      "hex": "#7E7E7C",
      "name": "#7E7E7C"
    },
    {
      "role": "background",
      "hex": "#7C7E7C",
      "name": "#7C7E7C"
    },
    {
      "role": "accent",
      "hex": "#000000",
      "name": "Black"
    }
  ],
  "accessibility": [
    {
      "role": "primary",
      "hex": "#7D7F7C",
      "name": "Zinc",
      "blackContrast": 5.2,
      "whiteContrast": 4.04,
      "bestTextColor": "#000000",
      "aaTextOptions": [
        "#000000"
      ],
      "aaaTextOptions": []
    },
    {
      "role": "secondary",
      "hex": "#7D7C7E",
      "name": "#7D7C7E",
      "blackContrast": 5.06,
      "whiteContrast": 4.15,
      "bestTextColor": "#000000",
      "aaTextOptions": [
        "#000000"
      ],
      "aaaTextOptions": []
    },
    {
      "role": "surface",
      "hex": "#7E7E7C",
      "name": "#7E7E7C",
      "blackContrast": 5.16,
      "whiteContrast": 4.07,
      "bestTextColor": "#000000",
      "aaTextOptions": [
        "#000000"
      ],
      "aaaTextOptions": []
    },
    {
      "role": "background",
      "hex": "#7C7E7C",
      "name": "#7C7E7C",
      "blackContrast": 5.13,
      "whiteContrast": 4.09,
      "bestTextColor": "#000000",
      "aaTextOptions": [
        "#000000"
      ],
      "aaaTextOptions": []
    },
    {
      "role": "accent",
      "hex": "#000000",
      "name": "Black",
      "blackContrast": 1,
      "whiteContrast": 21,
      "bestTextColor": "#FFFFFF",
      "aaTextOptions": [
        "#FFFFFF",
        "#F5F5F5"
      ],
      "aaaTextOptions": [
        "#FFFFFF",
        "#F5F5F5"
      ]
    }
  ],
  "cssVariables": "--palette-zinc-primary: #7D7F7C;\n--palette-zinc-secondary: #7D7C7E;\n--palette-zinc-surface: #7E7E7C;\n--palette-zinc-background: #7C7E7C;\n--palette-zinc-accent: #000000;",
  "relatedEndpoints": [
    "https://www.colorsencyclopedia.com/api/palettes/zinc.json",
    "https://www.colorsencyclopedia.com/api/palettes.json",
    "https://www.colorsencyclopedia.com/api/colors/zinc.json"
  ],
  "url": "https://www.colorsencyclopedia.com/palettes/zinc/",
  "apiUrl": "https://www.colorsencyclopedia.com/api/palettes/zinc.json"
}