Generated palette

Primer Gray Palette

Primer Gray Palette is a generated palette built from #8B8C89, #89898B, #8B8A89, #898B89. 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.

Primer Gray Palette combines primary #8B8C89, secondary #89898B, surface #8B8A89, background #898B89, 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.

5colors
Gray palettedominant group
5use 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#8B8C89Primer Gray
Secondary#89898B#89898B
Surface#8B8A89#8B8A89
Background#898B89#898B89
Accent#000000Black

CSS Variables

--palette-primer-gray-primary: #8B8C89;
--palette-primer-gray-secondary: #89898B;
--palette-primer-gray-surface: #8B8A89;
--palette-primer-gray-background: #898B89;
--palette-primer-gray-accent: #000000;

Accessibility Snapshot

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

Primary#8B8C89
Black 6.21:1 · White 3.38:1
Best #000000
Secondary#89898B
Black 6.01:1 · White 3.49:1
Best #000000
Surface#8B8A89
Black 6.09:1 · White 3.45:1
Best #000000
Background#898B89
Black 6.12:1 · White 3.43:1
Best #000000
Accent#000000
Black 1:1 · White 21:1
Best #FFFFFF

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 Primer Gray Palette Data (JSON)

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

AI-Ready Dataset v1.0.0
Luminance0.2605
Black text6.21:1AA Pass
White text3.38: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": "#8B8C89",
    "name": "Primer Gray"
  },
  {
    "role": "secondary",
    "hex": "#89898B",
    "name": "#89898B"
  },
  {
    "role": "surface",
    "hex": "#8B8A89",
    "name": "#8B8A89"
  },
  {
    "role": "background",
    "hex": "#898B89",
    "name": "#898B89"
  },
  {
    "role": "accent",
    "hex": "#000000",
    "name": "Black"
  }
]
Accessibility
[
  {
    "role": "primary",
    "hex": "#8B8C89",
    "name": "Primer Gray",
    "blackContrast": 6.21,
    "whiteContrast": 3.38,
    "bestTextColor": "#000000",
    "aaTextOptions": [
      "#000000",
      "#1A1A1A"
    ],
    "aaaTextOptions": []
  },
  {
    "role": "secondary",
    "hex": "#89898B",
    "name": "#89898B",
    "blackContrast": 6.01,
    "whiteContrast": 3.49,
    "bestTextColor": "#000000",
    "aaTextOptions": [
      "#000000",
      "#1A1A1A"
    ],
    "aaaTextOptions": []
  },
  {
    "role": "surface",
    "hex": "#8B8A89",
    "name": "#8B8A89",
    "blackContrast": 6.09,
    "whiteContrast": 3.45,
    "bestTextColor": "#000000",
    "aaTextOptions": [
      "#000000",
      "#1A1A1A"
    ],
    "aaaTextOptions": []
  },
  {
    "role": "background",
    "hex": "#898B89",
    "name": "#898B89",
    "blackContrast": 6.12,
    "whiteContrast": 3.43,
    "bestTextColor": "#000000",
    "aaTextOptions": [
      "#000000",
      "#1A1A1A"
    ],
    "aaaTextOptions": []
  },
  {
    "role": "accent",
    "hex": "#000000",
    "name": "Black",
    "blackContrast": 1,
    "whiteContrast": 21,
    "bestTextColor": "#FFFFFF",
    "aaTextOptions": [
      "#FFFFFF",
      "#F5F5F5"
    ],
    "aaaTextOptions": [
      "#FFFFFF",
      "#F5F5F5"
    ]
  }
]
Semantic groups
[
  "primer gray 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-primer-gray-primary: #8B8C89;\n--palette-primer-gray-secondary: #89898B;\n--palette-primer-gray-surface: #8B8A89;\n--palette-primer-gray-background: #898B89;\n--palette-primer-gray-accent: #000000;"
Full JSON dataset
{
  "datasetVersion": "1.0.0",
  "slug": "primer-gray",
  "name": "Primer Gray Palette",
  "type": "generated",
  "sourceColor": "primer-gray",
  "description": "Generated palette built from Primer Gray, its harmonies, a high-contrast pairing, and a light variant.",
  "narrative": "Primer Gray Palette combines primary #8B8C89, secondary #89898B, surface #8B8A89, background #898B89, 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": [
    "primer gray 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": "#8B8C89",
      "slug": "primer-gray",
      "name": "Primer Gray",
      "rgb": [
        139,
        140,
        137
      ],
      "hsl": [
        80,
        1,
        54
      ],
      "cmyk": [
        1,
        0,
        2,
        45
      ],
      "family": "gray",
      "temperature": "neutral",
      "tone": [
        "muted"
      ],
      "luminance": 0.2605,
      "contrast": {
        "black": 6.21,
        "white": 3.38
      },
      "wcag": {
        "AA": [
          "#000000",
          "#1A1A1A"
        ],
        "AAA": []
      },
      "url": "https://www.colorsencyclopedia.com/colors/primer-gray/"
    },
    {
      "role": "secondary",
      "hex": "#89898B",
      "slug": null,
      "name": "#89898B",
      "rgb": [
        137,
        137,
        139
      ],
      "hsl": [
        240,
        1,
        54
      ],
      "cmyk": [
        1,
        1,
        0,
        45
      ],
      "family": "gray",
      "temperature": "neutral",
      "tone": [
        "muted"
      ],
      "luminance": 0.2507,
      "contrast": {
        "black": 6.01,
        "white": 3.49
      },
      "wcag": {
        "AA": [
          "#000000",
          "#1A1A1A"
        ],
        "AAA": []
      },
      "url": "https://www.colorsencyclopedia.com/hex/89898b/"
    },
    {
      "role": "surface",
      "hex": "#8B8A89",
      "slug": null,
      "name": "#8B8A89",
      "rgb": [
        139,
        138,
        137
      ],
      "hsl": [
        30,
        1,
        54
      ],
      "cmyk": [
        0,
        1,
        1,
        45
      ],
      "family": "gray",
      "temperature": "neutral",
      "tone": [
        "muted"
      ],
      "luminance": 0.2547,
      "contrast": {
        "black": 6.09,
        "white": 3.45
      },
      "wcag": {
        "AA": [
          "#000000",
          "#1A1A1A"
        ],
        "AAA": []
      },
      "url": "https://www.colorsencyclopedia.com/hex/8b8a89/"
    },
    {
      "role": "background",
      "hex": "#898B89",
      "slug": null,
      "name": "#898B89",
      "rgb": [
        137,
        139,
        137
      ],
      "hsl": [
        120,
        1,
        54
      ],
      "cmyk": [
        1,
        0,
        1,
        45
      ],
      "family": "gray",
      "temperature": "neutral",
      "tone": [
        "muted"
      ],
      "luminance": 0.2559,
      "contrast": {
        "black": 6.12,
        "white": 3.43
      },
      "wcag": {
        "AA": [
          "#000000",
          "#1A1A1A"
        ],
        "AAA": []
      },
      "url": "https://www.colorsencyclopedia.com/hex/898b89/"
    },
    {
      "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": "#8B8C89",
      "name": "Primer Gray"
    },
    {
      "role": "secondary",
      "hex": "#89898B",
      "name": "#89898B"
    },
    {
      "role": "surface",
      "hex": "#8B8A89",
      "name": "#8B8A89"
    },
    {
      "role": "background",
      "hex": "#898B89",
      "name": "#898B89"
    },
    {
      "role": "accent",
      "hex": "#000000",
      "name": "Black"
    }
  ],
  "accessibility": [
    {
      "role": "primary",
      "hex": "#8B8C89",
      "name": "Primer Gray",
      "blackContrast": 6.21,
      "whiteContrast": 3.38,
      "bestTextColor": "#000000",
      "aaTextOptions": [
        "#000000",
        "#1A1A1A"
      ],
      "aaaTextOptions": []
    },
    {
      "role": "secondary",
      "hex": "#89898B",
      "name": "#89898B",
      "blackContrast": 6.01,
      "whiteContrast": 3.49,
      "bestTextColor": "#000000",
      "aaTextOptions": [
        "#000000",
        "#1A1A1A"
      ],
      "aaaTextOptions": []
    },
    {
      "role": "surface",
      "hex": "#8B8A89",
      "name": "#8B8A89",
      "blackContrast": 6.09,
      "whiteContrast": 3.45,
      "bestTextColor": "#000000",
      "aaTextOptions": [
        "#000000",
        "#1A1A1A"
      ],
      "aaaTextOptions": []
    },
    {
      "role": "background",
      "hex": "#898B89",
      "name": "#898B89",
      "blackContrast": 6.12,
      "whiteContrast": 3.43,
      "bestTextColor": "#000000",
      "aaTextOptions": [
        "#000000",
        "#1A1A1A"
      ],
      "aaaTextOptions": []
    },
    {
      "role": "accent",
      "hex": "#000000",
      "name": "Black",
      "blackContrast": 1,
      "whiteContrast": 21,
      "bestTextColor": "#FFFFFF",
      "aaTextOptions": [
        "#FFFFFF",
        "#F5F5F5"
      ],
      "aaaTextOptions": [
        "#FFFFFF",
        "#F5F5F5"
      ]
    }
  ],
  "cssVariables": "--palette-primer-gray-primary: #8B8C89;\n--palette-primer-gray-secondary: #89898B;\n--palette-primer-gray-surface: #8B8A89;\n--palette-primer-gray-background: #898B89;\n--palette-primer-gray-accent: #000000;",
  "relatedEndpoints": [
    "https://www.colorsencyclopedia.com/api/palettes/primer-gray.json",
    "https://www.colorsencyclopedia.com/api/palettes.json",
    "https://www.colorsencyclopedia.com/api/colors/primer-gray.json"
  ],
  "url": "https://www.colorsencyclopedia.com/palettes/primer-gray/",
  "apiUrl": "https://www.colorsencyclopedia.com/api/palettes/primer-gray.json"
}