Generated palette

Carbon Black Palette

Carbon Black Palette: #0C0C0C, #0D0D0D, #FFFFFF, #3B3B3B. Check roles, contrast and CSS variables; open source-color links and JSON.

Carbon Black Palette assigns primary #0C0C0C, secondary #0D0D0D, surface #FFFFFF, background #3B3B3B. The set spans Gray families with neutral temperature. Luminance runs from #0C0C0C at 0.0037 to #FFFFFF at 1; black gives higher contrast on 1 of 4 values.

4colors
Gray palettedominant group
4use cases

Palette Color Roles

Carbon Black Palette maps 4 colors to practical UI roles for interfaces, brand systems, and CSS tokens.

Primary#0C0C0CCarbon Black
Secondary#0D0D0D#0D0D0D
Surface#FFFFFFWhite
Background#3B3B3B#3B3B3B

CSS Variables

--palette-carbon-black-primary: #0C0C0C;
--palette-carbon-black-secondary: #0D0D0D;
--palette-carbon-black-surface: #FFFFFF;
--palette-carbon-black-background: #3B3B3B;

Accessibility Snapshot

Compare all 4 Carbon Black Palette values against black and white text, with the stronger standard foreground identified for each role.

Primary#0C0C0C
Black 1.07:1 · White 19.55:1
Best #FFFFFF
Secondary#0D0D0D
Black 1.08:1 · White 19.44:1
Best #FFFFFF
Surface#FFFFFF
Black 21:1 · White 1:1
Best #000000
Background#3B3B3B
Black 1.87:1 · White 11.21:1
Best #FFFFFF

UI Components Preview

Preview how the Carbon Black Palette roles behave together across common interface components before copying the CSS variables.

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

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

AI-Ready Dataset v1.0.0
Luminance0.0037
Black text1.07:1AA Fail
White text19.55: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": "#0C0C0C",
    "name": "Carbon Black"
  },
  {
    "role": "secondary",
    "hex": "#0D0D0D",
    "name": "#0D0D0D"
  },
  {
    "role": "surface",
    "hex": "#FFFFFF",
    "name": "White"
  },
  {
    "role": "background",
    "hex": "#3B3B3B",
    "name": "#3B3B3B"
  }
]
Accessibility
[
  {
    "role": "primary",
    "hex": "#0C0C0C",
    "name": "Carbon Black",
    "blackContrast": 1.07,
    "whiteContrast": 19.55,
    "bestTextColor": "#FFFFFF",
    "aaTextOptions": [
      "#FFFFFF",
      "#F5F5F5"
    ],
    "aaaTextOptions": [
      "#FFFFFF",
      "#F5F5F5"
    ]
  },
  {
    "role": "secondary",
    "hex": "#0D0D0D",
    "name": "#0D0D0D",
    "blackContrast": 1.08,
    "whiteContrast": 19.44,
    "bestTextColor": "#FFFFFF",
    "aaTextOptions": [
      "#FFFFFF",
      "#F5F5F5"
    ],
    "aaaTextOptions": [
      "#FFFFFF",
      "#F5F5F5"
    ]
  },
  {
    "role": "surface",
    "hex": "#FFFFFF",
    "name": "White",
    "blackContrast": 21,
    "whiteContrast": 1,
    "bestTextColor": "#000000",
    "aaTextOptions": [
      "#000000",
      "#1A1A1A",
      "#36454F"
    ],
    "aaaTextOptions": [
      "#000000",
      "#1A1A1A",
      "#36454F"
    ]
  },
  {
    "role": "background",
    "hex": "#3B3B3B",
    "name": "#3B3B3B",
    "blackContrast": 1.87,
    "whiteContrast": 11.21,
    "bestTextColor": "#FFFFFF",
    "aaTextOptions": [
      "#FFFFFF",
      "#F5F5F5"
    ],
    "aaaTextOptions": [
      "#FFFFFF",
      "#F5F5F5"
    ]
  }
]
Semantic groups
[
  "carbon black 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-carbon-black-primary: #0C0C0C;\n--palette-carbon-black-secondary: #0D0D0D;\n--palette-carbon-black-surface: #FFFFFF;\n--palette-carbon-black-background: #3B3B3B;"
Full JSON dataset
{
  "datasetVersion": "1.0.0",
  "slug": "carbon-black",
  "name": "Carbon Black Palette",
  "type": "generated",
  "sourceColor": "carbon-black",
  "description": "Generated palette built from Carbon Black, its harmonies, a high-contrast pairing, and a light variant.",
  "narrative": "Carbon Black Palette combines primary #0C0C0C, secondary #0D0D0D, surface #FFFFFF, background #3B3B3B. 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": [
    "carbon black 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": "#0C0C0C",
      "slug": "carbon-black",
      "name": "Carbon Black",
      "rgb": [
        12,
        12,
        12
      ],
      "hsl": [
        0,
        0,
        5
      ],
      "cmyk": [
        0,
        0,
        0,
        95
      ],
      "family": "gray",
      "temperature": "neutral",
      "tone": [
        "dark"
      ],
      "luminance": 0.0037,
      "contrast": {
        "black": 1.07,
        "white": 19.55
      },
      "wcag": {
        "AA": [
          "#FFFFFF",
          "#F5F5F5"
        ],
        "AAA": [
          "#FFFFFF",
          "#F5F5F5"
        ]
      },
      "url": "https://www.colorsencyclopedia.com/colors/carbon-black/"
    },
    {
      "role": "secondary",
      "hex": "#0D0D0D",
      "slug": null,
      "name": "#0D0D0D",
      "rgb": [
        13,
        13,
        13
      ],
      "hsl": [
        0,
        0,
        5
      ],
      "cmyk": [
        0,
        0,
        0,
        95
      ],
      "family": "gray",
      "temperature": "neutral",
      "tone": [
        "dark"
      ],
      "luminance": 0.004,
      "contrast": {
        "black": 1.08,
        "white": 19.44
      },
      "wcag": {
        "AA": [
          "#FFFFFF",
          "#F5F5F5"
        ],
        "AAA": [
          "#FFFFFF",
          "#F5F5F5"
        ]
      },
      "url": null
    },
    {
      "role": "surface",
      "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": "background",
      "hex": "#3B3B3B",
      "slug": null,
      "name": "#3B3B3B",
      "rgb": [
        59,
        59,
        59
      ],
      "hsl": [
        0,
        0,
        23
      ],
      "cmyk": [
        0,
        0,
        0,
        77
      ],
      "family": "gray",
      "temperature": "neutral",
      "tone": [
        "dark"
      ],
      "luminance": 0.0437,
      "contrast": {
        "black": 1.87,
        "white": 11.21
      },
      "wcag": {
        "AA": [
          "#FFFFFF",
          "#F5F5F5"
        ],
        "AAA": [
          "#FFFFFF",
          "#F5F5F5"
        ]
      },
      "url": null
    }
  ],
  "roles": [
    {
      "role": "primary",
      "hex": "#0C0C0C",
      "name": "Carbon Black"
    },
    {
      "role": "secondary",
      "hex": "#0D0D0D",
      "name": "#0D0D0D"
    },
    {
      "role": "surface",
      "hex": "#FFFFFF",
      "name": "White"
    },
    {
      "role": "background",
      "hex": "#3B3B3B",
      "name": "#3B3B3B"
    }
  ],
  "accessibility": [
    {
      "role": "primary",
      "hex": "#0C0C0C",
      "name": "Carbon Black",
      "blackContrast": 1.07,
      "whiteContrast": 19.55,
      "bestTextColor": "#FFFFFF",
      "aaTextOptions": [
        "#FFFFFF",
        "#F5F5F5"
      ],
      "aaaTextOptions": [
        "#FFFFFF",
        "#F5F5F5"
      ]
    },
    {
      "role": "secondary",
      "hex": "#0D0D0D",
      "name": "#0D0D0D",
      "blackContrast": 1.08,
      "whiteContrast": 19.44,
      "bestTextColor": "#FFFFFF",
      "aaTextOptions": [
        "#FFFFFF",
        "#F5F5F5"
      ],
      "aaaTextOptions": [
        "#FFFFFF",
        "#F5F5F5"
      ]
    },
    {
      "role": "surface",
      "hex": "#FFFFFF",
      "name": "White",
      "blackContrast": 21,
      "whiteContrast": 1,
      "bestTextColor": "#000000",
      "aaTextOptions": [
        "#000000",
        "#1A1A1A",
        "#36454F"
      ],
      "aaaTextOptions": [
        "#000000",
        "#1A1A1A",
        "#36454F"
      ]
    },
    {
      "role": "background",
      "hex": "#3B3B3B",
      "name": "#3B3B3B",
      "blackContrast": 1.87,
      "whiteContrast": 11.21,
      "bestTextColor": "#FFFFFF",
      "aaTextOptions": [
        "#FFFFFF",
        "#F5F5F5"
      ],
      "aaaTextOptions": [
        "#FFFFFF",
        "#F5F5F5"
      ]
    }
  ],
  "cssVariables": "--palette-carbon-black-primary: #0C0C0C;\n--palette-carbon-black-secondary: #0D0D0D;\n--palette-carbon-black-surface: #FFFFFF;\n--palette-carbon-black-background: #3B3B3B;",
  "relatedEndpoints": [
    "https://www.colorsencyclopedia.com/api/palettes/carbon-black.json",
    "https://www.colorsencyclopedia.com/api/palettes.json",
    "https://www.colorsencyclopedia.com/api/colors/carbon-black.json"
  ],
  "url": "https://www.colorsencyclopedia.com/palettes/carbon-black/",
  "apiUrl": "https://www.colorsencyclopedia.com/api/palettes/carbon-black.json"
}