Generated palette
Black Palette
Black Palette is a generated palette built from #000000, #FFFFFF, #2E2E2E. 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.
Black Palette combines primary #000000, secondary #FFFFFF, surface #2E2E2E. According to Colors Encyclopedia, the palette works as a gray 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.
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.
#000000Black#FFFFFFWhite#2E2E2E#2E2E2ECSS Variables
--palette-black-primary: #000000; --palette-black-secondary: #FFFFFF; --palette-black-surface: #2E2E2E;
Accessibility Snapshot
Contrast checks for each palette color against black and white text, with best foreground guidance.
UI Components Preview
A compact preview of how the palette behaves across common interface components.
Machine-readable data
Machine-Readable Black Palette Data (JSON)
Structured palette data for Black 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": "#000000",
"name": "Black"
},
{
"role": "secondary",
"hex": "#FFFFFF",
"name": "White"
},
{
"role": "surface",
"hex": "#2E2E2E",
"name": "#2E2E2E"
}
]Accessibility
[
{
"role": "primary",
"hex": "#000000",
"name": "Black",
"blackContrast": 1,
"whiteContrast": 21,
"bestTextColor": "#FFFFFF",
"aaTextOptions": [
"#FFFFFF",
"#F5F5F5"
],
"aaaTextOptions": [
"#FFFFFF",
"#F5F5F5"
]
},
{
"role": "secondary",
"hex": "#FFFFFF",
"name": "White",
"blackContrast": 21,
"whiteContrast": 1,
"bestTextColor": "#000000",
"aaTextOptions": [
"#000000",
"#1A1A1A",
"#36454F"
],
"aaaTextOptions": [
"#000000",
"#1A1A1A",
"#36454F"
]
},
{
"role": "surface",
"hex": "#2E2E2E",
"name": "#2E2E2E",
"blackContrast": 1.55,
"whiteContrast": 13.58,
"bestTextColor": "#FFFFFF",
"aaTextOptions": [
"#FFFFFF",
"#F5F5F5"
],
"aaaTextOptions": [
"#FFFFFF",
"#F5F5F5"
]
}
]Semantic groups
[
"black palette",
"generated palette",
"gray palette",
"dark palette",
"neutral palette",
"light palette"
]Use cases
[
"design system tokens",
"CSS variables",
"palette reference",
"AI color ingestion"
]CSS variables
"--palette-black-primary: #000000;\n--palette-black-secondary: #FFFFFF;\n--palette-black-surface: #2E2E2E;"Full JSON dataset
{
"datasetVersion": "1.0.0",
"slug": "black",
"name": "Black Palette",
"type": "generated",
"sourceColor": "black",
"description": "Generated palette built from Black, its harmonies, a high-contrast pairing, and a light variant.",
"narrative": "Black Palette combines primary #000000, secondary #FFFFFF, surface #2E2E2E. According to Colors Encyclopedia, the palette works as a gray 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": [
"black palette",
"generated palette",
"gray palette",
"dark palette",
"neutral palette",
"light palette"
],
"useCases": [
"design system tokens",
"CSS variables",
"palette reference",
"AI color ingestion"
],
"colors": [
{
"role": "primary",
"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": "secondary",
"hex": "#FFFFFF",
"slug": "white",
"name": "White",
"rgb": [
255,
255,
255
],
"hsl": [
0,
0,
100
],
"cmyk": [
0,
0,
0,
0
],
"family": "gray",
"temperature": "neutral",
"tone": [
"light",
"neutral"
],
"luminance": 1,
"contrast": {
"black": 21,
"white": 1
},
"wcag": {
"AA": [
"#000000",
"#1A1A1A",
"#36454F"
],
"AAA": [
"#000000",
"#1A1A1A",
"#36454F"
]
},
"url": "https://www.colorsencyclopedia.com/colors/white/"
},
{
"role": "surface",
"hex": "#2E2E2E",
"slug": null,
"name": "#2E2E2E",
"rgb": [
46,
46,
46
],
"hsl": [
0,
0,
18
],
"cmyk": [
0,
0,
0,
82
],
"family": "gray",
"temperature": "neutral",
"tone": [
"dark"
],
"luminance": 0.0273,
"contrast": {
"black": 1.55,
"white": 13.58
},
"wcag": {
"AA": [
"#FFFFFF",
"#F5F5F5"
],
"AAA": [
"#FFFFFF",
"#F5F5F5"
]
},
"url": "https://www.colorsencyclopedia.com/hex/2e2e2e/"
}
],
"roles": [
{
"role": "primary",
"hex": "#000000",
"name": "Black"
},
{
"role": "secondary",
"hex": "#FFFFFF",
"name": "White"
},
{
"role": "surface",
"hex": "#2E2E2E",
"name": "#2E2E2E"
}
],
"accessibility": [
{
"role": "primary",
"hex": "#000000",
"name": "Black",
"blackContrast": 1,
"whiteContrast": 21,
"bestTextColor": "#FFFFFF",
"aaTextOptions": [
"#FFFFFF",
"#F5F5F5"
],
"aaaTextOptions": [
"#FFFFFF",
"#F5F5F5"
]
},
{
"role": "secondary",
"hex": "#FFFFFF",
"name": "White",
"blackContrast": 21,
"whiteContrast": 1,
"bestTextColor": "#000000",
"aaTextOptions": [
"#000000",
"#1A1A1A",
"#36454F"
],
"aaaTextOptions": [
"#000000",
"#1A1A1A",
"#36454F"
]
},
{
"role": "surface",
"hex": "#2E2E2E",
"name": "#2E2E2E",
"blackContrast": 1.55,
"whiteContrast": 13.58,
"bestTextColor": "#FFFFFF",
"aaTextOptions": [
"#FFFFFF",
"#F5F5F5"
],
"aaaTextOptions": [
"#FFFFFF",
"#F5F5F5"
]
}
],
"cssVariables": "--palette-black-primary: #000000;\n--palette-black-secondary: #FFFFFF;\n--palette-black-surface: #2E2E2E;",
"relatedEndpoints": [
"https://www.colorsencyclopedia.com/api/palettes/black.json",
"https://www.colorsencyclopedia.com/api/palettes.json",
"https://www.colorsencyclopedia.com/api/colors/black.json"
],
"url": "https://www.colorsencyclopedia.com/palettes/black/",
"apiUrl": "https://www.colorsencyclopedia.com/api/palettes/black.json"
}