Generated palette

Raisin Palette

Raisin Palette is a generated palette built from #242124, #222522, #242225, #252224. 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.

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.

5colors
Gray palettedominant group
4use 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#242124Raisin
Secondary#222522#222522
Surface#242225#242225
Background#252224#252224
Accent#FFFFFFWhite

CSS Variables

--palette-raisin-primary: #242124;
--palette-raisin-secondary: #222522;
--palette-raisin-surface: #242225;
--palette-raisin-background: #252224;
--palette-raisin-accent: #FFFFFF;

Accessibility Snapshot

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

Primary#242124
Black 1.32:1 · White 15.93:1
Best #FFFFFF
Secondary#222522
Black 1.36:1 · White 15.49:1
Best #FFFFFF
Surface#242225
Black 1.33:1 · White 15.79:1
Best #FFFFFF
Background#252224
Black 1.33:1 · White 15.77:1
Best #FFFFFF
Accent#FFFFFF
Black 21:1 · White 1:1
Best #000000

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

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

AI-Ready Dataset v1.0.0
Luminance0.0159
Black text1.32:1AA Fail
White text15.93:1AA Pass
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": "#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": "https://www.colorsencyclopedia.com/hex/222522/"
    },
    {
      "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": "https://www.colorsencyclopedia.com/hex/242225/"
    },
    {
      "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": "https://www.colorsencyclopedia.com/hex/252224/"
    },
    {
      "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"
}