Generated palette
Raisin Palette
Raisin Palette: #242124, #222522, #242225, #252224. Check roles, contrast and CSS variables; open source-color links and JSON.
Raisin Palette assigns primary #242124, secondary #222522, surface #242225, background #252224, accent #FFFFFF. The set spans Gray families with neutral temperature. Luminance runs from #242124 at 0.0159 to #FFFFFF at 1; black gives higher contrast on 1 of 5 values.
Palette Color Roles
Raisin Palette maps 5 colors to practical UI roles for interfaces, brand systems, and CSS tokens.
#242124Raisin#222522#222522#242225#242225#252224#252224#FFFFFFWhiteCSS Variables
--palette-raisin-primary: #242124; --palette-raisin-secondary: #222522; --palette-raisin-surface: #242225; --palette-raisin-background: #252224; --palette-raisin-accent: #FFFFFF;
Accessibility Snapshot
Compare all 5 Raisin Palette values against black and white text, with the stronger standard foreground identified for each role.
UI Components Preview
Preview how the Raisin Palette roles behave together across common interface components before copying the CSS variables.
Machine-readable data
Machine-Readable Raisin Palette Data (JSON)
Structured palette data for Raisin 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": "#242124",
"name": "Raisin"
},
{
"role": "secondary",
"hex": "#222522",
"name": "#222522"
},
{
"role": "surface",
"hex": "#242225",
"name": "#242225"
},
{
"role": "background",
"hex": "#252224",
"name": "#252224"
},
{
"role": "accent",
"hex": "#FFFFFF",
"name": "White"
}
]Accessibility
[
{
"role": "primary",
"hex": "#242124",
"name": "Raisin",
"blackContrast": 1.32,
"whiteContrast": 15.93,
"bestTextColor": "#FFFFFF",
"aaTextOptions": [
"#FFFFFF",
"#F5F5F5"
],
"aaaTextOptions": [
"#FFFFFF",
"#F5F5F5"
]
},
{
"role": "secondary",
"hex": "#222522",
"name": "#222522",
"blackContrast": 1.36,
"whiteContrast": 15.49,
"bestTextColor": "#FFFFFF",
"aaTextOptions": [
"#FFFFFF",
"#F5F5F5"
],
"aaaTextOptions": [
"#FFFFFF",
"#F5F5F5"
]
},
{
"role": "surface",
"hex": "#242225",
"name": "#242225",
"blackContrast": 1.33,
"whiteContrast": 15.79,
"bestTextColor": "#FFFFFF",
"aaTextOptions": [
"#FFFFFF",
"#F5F5F5"
],
"aaaTextOptions": [
"#FFFFFF",
"#F5F5F5"
]
},
{
"role": "background",
"hex": "#252224",
"name": "#252224",
"blackContrast": 1.33,
"whiteContrast": 15.77,
"bestTextColor": "#FFFFFF",
"aaTextOptions": [
"#FFFFFF",
"#F5F5F5"
],
"aaaTextOptions": [
"#FFFFFF",
"#F5F5F5"
]
},
{
"role": "accent",
"hex": "#FFFFFF",
"name": "White",
"blackContrast": 21,
"whiteContrast": 1,
"bestTextColor": "#000000",
"aaTextOptions": [
"#000000",
"#1A1A1A",
"#36454F"
],
"aaaTextOptions": [
"#000000",
"#1A1A1A",
"#36454F"
]
}
]Semantic groups
[
"raisin palette",
"generated palette",
"gray palette",
"dark palette",
"light palette",
"neutral palette"
]Use cases
[
"design system tokens",
"CSS variables",
"palette reference",
"AI color ingestion"
]CSS variables
"--palette-raisin-primary: #242124;\n--palette-raisin-secondary: #222522;\n--palette-raisin-surface: #242225;\n--palette-raisin-background: #252224;\n--palette-raisin-accent: #FFFFFF;"Full JSON dataset
{
"datasetVersion": "1.0.0",
"slug": "raisin",
"name": "Raisin Palette",
"type": "generated",
"sourceColor": "raisin",
"description": "Generated palette built from Raisin, its harmonies, a high-contrast pairing, and a light variant.",
"narrative": "Raisin Palette combines primary #242124, secondary #222522, surface #242225, background #252224, accent #FFFFFF. According to Colors Encyclopedia, the palette works as a gray palette, dark palette, light 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": [
"raisin palette",
"generated palette",
"gray palette",
"dark palette",
"light palette",
"neutral palette"
],
"useCases": [
"design system tokens",
"CSS variables",
"palette reference",
"AI color ingestion"
],
"colors": [
{
"role": "primary",
"hex": "#242124",
"slug": "raisin",
"name": "Raisin",
"rgb": [
36,
33,
36
],
"hsl": [
300,
4,
14
],
"cmyk": [
0,
8,
0,
86
],
"family": "gray",
"temperature": "neutral",
"tone": [
"dark"
],
"luminance": 0.0159,
"contrast": {
"black": 1.32,
"white": 15.93
},
"wcag": {
"AA": [
"#FFFFFF",
"#F5F5F5"
],
"AAA": [
"#FFFFFF",
"#F5F5F5"
]
},
"url": "https://www.colorsencyclopedia.com/colors/raisin/"
},
{
"role": "secondary",
"hex": "#222522",
"slug": null,
"name": "#222522",
"rgb": [
34,
37,
34
],
"hsl": [
120,
4,
14
],
"cmyk": [
8,
0,
8,
85
],
"family": "gray",
"temperature": "neutral",
"tone": [
"dark"
],
"luminance": 0.0178,
"contrast": {
"black": 1.36,
"white": 15.49
},
"wcag": {
"AA": [
"#FFFFFF",
"#F5F5F5"
],
"AAA": [
"#FFFFFF",
"#F5F5F5"
]
},
"url": null
},
{
"role": "surface",
"hex": "#242225",
"slug": null,
"name": "#242225",
"rgb": [
36,
34,
37
],
"hsl": [
280,
4,
14
],
"cmyk": [
3,
8,
0,
85
],
"family": "gray",
"temperature": "neutral",
"tone": [
"dark"
],
"luminance": 0.0165,
"contrast": {
"black": 1.33,
"white": 15.79
},
"wcag": {
"AA": [
"#FFFFFF",
"#F5F5F5"
],
"AAA": [
"#FFFFFF",
"#F5F5F5"
]
},
"url": null
},
{
"role": "background",
"hex": "#252224",
"slug": null,
"name": "#252224",
"rgb": [
37,
34,
36
],
"hsl": [
320,
4,
14
],
"cmyk": [
0,
8,
3,
85
],
"family": "gray",
"temperature": "neutral",
"tone": [
"dark"
],
"luminance": 0.0166,
"contrast": {
"black": 1.33,
"white": 15.77
},
"wcag": {
"AA": [
"#FFFFFF",
"#F5F5F5"
],
"AAA": [
"#FFFFFF",
"#F5F5F5"
]
},
"url": null
},
{
"role": "accent",
"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/"
}
],
"roles": [
{
"role": "primary",
"hex": "#242124",
"name": "Raisin"
},
{
"role": "secondary",
"hex": "#222522",
"name": "#222522"
},
{
"role": "surface",
"hex": "#242225",
"name": "#242225"
},
{
"role": "background",
"hex": "#252224",
"name": "#252224"
},
{
"role": "accent",
"hex": "#FFFFFF",
"name": "White"
}
],
"accessibility": [
{
"role": "primary",
"hex": "#242124",
"name": "Raisin",
"blackContrast": 1.32,
"whiteContrast": 15.93,
"bestTextColor": "#FFFFFF",
"aaTextOptions": [
"#FFFFFF",
"#F5F5F5"
],
"aaaTextOptions": [
"#FFFFFF",
"#F5F5F5"
]
},
{
"role": "secondary",
"hex": "#222522",
"name": "#222522",
"blackContrast": 1.36,
"whiteContrast": 15.49,
"bestTextColor": "#FFFFFF",
"aaTextOptions": [
"#FFFFFF",
"#F5F5F5"
],
"aaaTextOptions": [
"#FFFFFF",
"#F5F5F5"
]
},
{
"role": "surface",
"hex": "#242225",
"name": "#242225",
"blackContrast": 1.33,
"whiteContrast": 15.79,
"bestTextColor": "#FFFFFF",
"aaTextOptions": [
"#FFFFFF",
"#F5F5F5"
],
"aaaTextOptions": [
"#FFFFFF",
"#F5F5F5"
]
},
{
"role": "background",
"hex": "#252224",
"name": "#252224",
"blackContrast": 1.33,
"whiteContrast": 15.77,
"bestTextColor": "#FFFFFF",
"aaTextOptions": [
"#FFFFFF",
"#F5F5F5"
],
"aaaTextOptions": [
"#FFFFFF",
"#F5F5F5"
]
},
{
"role": "accent",
"hex": "#FFFFFF",
"name": "White",
"blackContrast": 21,
"whiteContrast": 1,
"bestTextColor": "#000000",
"aaTextOptions": [
"#000000",
"#1A1A1A",
"#36454F"
],
"aaaTextOptions": [
"#000000",
"#1A1A1A",
"#36454F"
]
}
],
"cssVariables": "--palette-raisin-primary: #242124;\n--palette-raisin-secondary: #222522;\n--palette-raisin-surface: #242225;\n--palette-raisin-background: #252224;\n--palette-raisin-accent: #FFFFFF;",
"relatedEndpoints": [
"https://www.colorsencyclopedia.com/api/palettes/raisin.json",
"https://www.colorsencyclopedia.com/api/palettes.json",
"https://www.colorsencyclopedia.com/api/colors/raisin.json"
],
"url": "https://www.colorsencyclopedia.com/palettes/raisin/",
"apiUrl": "https://www.colorsencyclopedia.com/api/palettes/raisin.json"
}