Generated palette
Dark Gray Palette
Dark Gray Palette: #A9A9A9, #A8A8A8, #000000, #D6D6D6. Check roles, contrast and CSS variables; open source-color links and JSON.
Dark Gray 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.
Palette Color Roles
Dark Gray Palette maps 4 colors to practical UI roles for interfaces, brand systems, and CSS tokens.
#A9A9A9Dark Grey#A8A8A8#A8A8A8#000000Black#D6D6D6#D6D6D6CSS Variables
--palette-dark-gray-primary: #A9A9A9; --palette-dark-gray-secondary: #A8A8A8; --palette-dark-gray-surface: #000000; --palette-dark-gray-background: #D6D6D6;
Accessibility Snapshot
Compare all 4 Dark Gray Palette values against black and white text, with the stronger standard foreground identified for each role.
UI Components Preview
Preview how the Dark Gray Palette roles behave together across common interface components before copying the CSS variables.
Machine-readable data
Machine-Readable Dark Gray Palette Data (JSON)
Structured palette data for Dark Gray Palette, including color roles, accessibility, semantic groups, use cases, CSS variables, and API links.
colorsPalette colors with roles and color systemsrolesPrimary, secondary, surface, background, and accent mappingaccessibilityContrast and WCAG text options by palette colorsemanticGroupsAI-readable palette labelsuseCasesDesign and implementation contextscssVariablesCopy-ready CSS custom propertiesStructured 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 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-dark-gray-primary: #A9A9A9;\n--palette-dark-gray-secondary: #A8A8A8;\n--palette-dark-gray-surface: #000000;\n--palette-dark-gray-background: #D6D6D6;"Full JSON dataset
{
"datasetVersion": "1.0.0",
"slug": "dark-gray",
"name": "Dark Gray Palette",
"type": "generated",
"sourceColor": "dark-gray",
"description": "Generated palette built from Dark Gray, its harmonies, a high-contrast pairing, and a light variant.",
"narrative": "Dark Gray 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 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": "#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-gray-primary: #A9A9A9;\n--palette-dark-gray-secondary: #A8A8A8;\n--palette-dark-gray-surface: #000000;\n--palette-dark-gray-background: #D6D6D6;",
"relatedEndpoints": [
"https://www.colorsencyclopedia.com/api/palettes/dark-gray.json",
"https://www.colorsencyclopedia.com/api/palettes.json",
"https://www.colorsencyclopedia.com/api/colors/dark-gray.json"
],
"url": "https://www.colorsencyclopedia.com/palettes/dark-gray/",
"apiUrl": "https://www.colorsencyclopedia.com/api/palettes/dark-gray.json"
}