Generated palette

Mahogany Palette

Mahogany Palette: #C04000, #0081C2, #C20020, #C2A200. Check roles, contrast and CSS variables; open source-color links and JSON.

Mahogany Palette assigns primary #C04000, secondary #0081C2, surface #C20020, background #C2A200, accent #FFFFFF. The set spans Orange, Blue, Red, and Yellow families with warm, cool, and neutral temperatures. Luminance runs from #C20020 at 0.1157 to #FFFFFF at 1; black gives higher contrast on 3 of 5 values.

5colors
Orange palettedominant group
5use cases

Palette Color Roles

Mahogany Palette maps 5 colors to practical UI roles for interfaces, brand systems, and CSS tokens.

Primary#C04000Mahogany
Secondary#0081C2#0081C2
Surface#C20020#C20020
Background#C2A200#C2A200
Accent#FFFFFFWhite

CSS Variables

--palette-mahogany-primary: #C04000;
--palette-mahogany-secondary: #0081C2;
--palette-mahogany-surface: #C20020;
--palette-mahogany-background: #C2A200;
--palette-mahogany-accent: #FFFFFF;

Accessibility Snapshot

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

Primary#C04000
Black 3.97:1 · White 5.28:1
Best #FFFFFF
Secondary#0081C2
Black 4.92:1 · White 4.27:1
Best #000000
Surface#C20020
Black 3.31:1 · White 6.34:1
Best #FFFFFF
Background#C2A200
Black 8.46:1 · White 2.48:1
Best #000000
Accent#FFFFFF
Black 21:1 · White 1:1
Best #000000

UI Components Preview

Preview how the Mahogany 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 Mahogany Palette Data (JSON)

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

AI-Ready Dataset v1.0.0
Luminance0.1487
Black text3.97:1AA Fail
White text5.28: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": "#C04000",
    "name": "Mahogany"
  },
  {
    "role": "secondary",
    "hex": "#0081C2",
    "name": "#0081C2"
  },
  {
    "role": "surface",
    "hex": "#C20020",
    "name": "#C20020"
  },
  {
    "role": "background",
    "hex": "#C2A200",
    "name": "#C2A200"
  },
  {
    "role": "accent",
    "hex": "#FFFFFF",
    "name": "White"
  }
]
Accessibility
[
  {
    "role": "primary",
    "hex": "#C04000",
    "name": "Mahogany",
    "blackContrast": 3.97,
    "whiteContrast": 5.28,
    "bestTextColor": "#FFFFFF",
    "aaTextOptions": [
      "#FFFFFF",
      "#F5F5F5"
    ],
    "aaaTextOptions": []
  },
  {
    "role": "secondary",
    "hex": "#0081C2",
    "name": "#0081C2",
    "blackContrast": 4.92,
    "whiteContrast": 4.27,
    "bestTextColor": "#000000",
    "aaTextOptions": [
      "#000000"
    ],
    "aaaTextOptions": []
  },
  {
    "role": "surface",
    "hex": "#C20020",
    "name": "#C20020",
    "blackContrast": 3.31,
    "whiteContrast": 6.34,
    "bestTextColor": "#FFFFFF",
    "aaTextOptions": [
      "#FFFFFF",
      "#F5F5F5"
    ],
    "aaaTextOptions": []
  },
  {
    "role": "background",
    "hex": "#C2A200",
    "name": "#C2A200",
    "blackContrast": 8.46,
    "whiteContrast": 2.48,
    "bestTextColor": "#000000",
    "aaTextOptions": [
      "#000000",
      "#1A1A1A"
    ],
    "aaaTextOptions": [
      "#000000",
      "#1A1A1A"
    ]
  },
  {
    "role": "accent",
    "hex": "#FFFFFF",
    "name": "White",
    "blackContrast": 21,
    "whiteContrast": 1,
    "bestTextColor": "#000000",
    "aaTextOptions": [
      "#000000",
      "#1A1A1A",
      "#36454F"
    ],
    "aaaTextOptions": [
      "#000000",
      "#1A1A1A",
      "#36454F"
    ]
  }
]
Semantic groups
[
  "mahogany palette",
  "generated palette",
  "orange palette",
  "blue palette",
  "red palette",
  "yellow palette",
  "gray palette",
  "vibrant palette",
  "jewel tone palette",
  "light palette",
  "neutral palette",
  "warm palette",
  "cool palette"
]
Use cases
[
  "design system tokens",
  "CSS variables",
  "palette reference",
  "AI color ingestion",
  "calm digital interfaces"
]
CSS variables
"--palette-mahogany-primary: #C04000;\n--palette-mahogany-secondary: #0081C2;\n--palette-mahogany-surface: #C20020;\n--palette-mahogany-background: #C2A200;\n--palette-mahogany-accent: #FFFFFF;"
Full JSON dataset
{
  "datasetVersion": "1.0.0",
  "slug": "mahogany",
  "name": "Mahogany Palette",
  "type": "generated",
  "sourceColor": "mahogany",
  "description": "Generated palette built from Mahogany, its harmonies, a high-contrast pairing, and a light variant.",
  "narrative": "Mahogany Palette combines primary #C04000, secondary #0081C2, surface #C20020, background #C2A200, accent #FFFFFF. According to Colors Encyclopedia, the palette works as a orange palette, blue palette, red 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": [
    "mahogany palette",
    "generated palette",
    "orange palette",
    "blue palette",
    "red palette",
    "yellow palette",
    "gray palette",
    "vibrant palette",
    "jewel tone palette",
    "light palette",
    "neutral palette",
    "warm palette",
    "cool palette"
  ],
  "useCases": [
    "design system tokens",
    "CSS variables",
    "palette reference",
    "AI color ingestion",
    "calm digital interfaces"
  ],
  "colors": [
    {
      "role": "primary",
      "hex": "#C04000",
      "slug": "mahogany",
      "name": "Mahogany",
      "rgb": [
        192,
        64,
        0
      ],
      "hsl": [
        20,
        100,
        38
      ],
      "cmyk": [
        0,
        67,
        100,
        25
      ],
      "family": "orange",
      "temperature": "warm",
      "tone": [
        "vibrant"
      ],
      "luminance": 0.1487,
      "contrast": {
        "black": 3.97,
        "white": 5.28
      },
      "wcag": {
        "AA": [
          "#FFFFFF",
          "#F5F5F5"
        ],
        "AAA": []
      },
      "url": "https://www.colorsencyclopedia.com/colors/mahogany/"
    },
    {
      "role": "secondary",
      "hex": "#0081C2",
      "slug": null,
      "name": "#0081C2",
      "rgb": [
        0,
        129,
        194
      ],
      "hsl": [
        200,
        100,
        38
      ],
      "cmyk": [
        100,
        34,
        0,
        24
      ],
      "family": "blue",
      "temperature": "cool",
      "tone": [
        "vibrant",
        "jewel-tone"
      ],
      "luminance": 0.196,
      "contrast": {
        "black": 4.92,
        "white": 4.27
      },
      "wcag": {
        "AA": [
          "#000000"
        ],
        "AAA": []
      },
      "url": null
    },
    {
      "role": "surface",
      "hex": "#C20020",
      "slug": null,
      "name": "#C20020",
      "rgb": [
        194,
        0,
        32
      ],
      "hsl": [
        350,
        100,
        38
      ],
      "cmyk": [
        0,
        100,
        84,
        24
      ],
      "family": "red",
      "temperature": "warm",
      "tone": [
        "vibrant"
      ],
      "luminance": 0.1157,
      "contrast": {
        "black": 3.31,
        "white": 6.34
      },
      "wcag": {
        "AA": [
          "#FFFFFF",
          "#F5F5F5"
        ],
        "AAA": []
      },
      "url": null
    },
    {
      "role": "background",
      "hex": "#C2A200",
      "slug": null,
      "name": "#C2A200",
      "rgb": [
        194,
        162,
        0
      ],
      "hsl": [
        50,
        100,
        38
      ],
      "cmyk": [
        0,
        16,
        100,
        24
      ],
      "family": "yellow",
      "temperature": "warm",
      "tone": [
        "vibrant"
      ],
      "luminance": 0.3731,
      "contrast": {
        "black": 8.46,
        "white": 2.48
      },
      "wcag": {
        "AA": [
          "#000000",
          "#1A1A1A"
        ],
        "AAA": [
          "#000000",
          "#1A1A1A"
        ]
      },
      "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": "#C04000",
      "name": "Mahogany"
    },
    {
      "role": "secondary",
      "hex": "#0081C2",
      "name": "#0081C2"
    },
    {
      "role": "surface",
      "hex": "#C20020",
      "name": "#C20020"
    },
    {
      "role": "background",
      "hex": "#C2A200",
      "name": "#C2A200"
    },
    {
      "role": "accent",
      "hex": "#FFFFFF",
      "name": "White"
    }
  ],
  "accessibility": [
    {
      "role": "primary",
      "hex": "#C04000",
      "name": "Mahogany",
      "blackContrast": 3.97,
      "whiteContrast": 5.28,
      "bestTextColor": "#FFFFFF",
      "aaTextOptions": [
        "#FFFFFF",
        "#F5F5F5"
      ],
      "aaaTextOptions": []
    },
    {
      "role": "secondary",
      "hex": "#0081C2",
      "name": "#0081C2",
      "blackContrast": 4.92,
      "whiteContrast": 4.27,
      "bestTextColor": "#000000",
      "aaTextOptions": [
        "#000000"
      ],
      "aaaTextOptions": []
    },
    {
      "role": "surface",
      "hex": "#C20020",
      "name": "#C20020",
      "blackContrast": 3.31,
      "whiteContrast": 6.34,
      "bestTextColor": "#FFFFFF",
      "aaTextOptions": [
        "#FFFFFF",
        "#F5F5F5"
      ],
      "aaaTextOptions": []
    },
    {
      "role": "background",
      "hex": "#C2A200",
      "name": "#C2A200",
      "blackContrast": 8.46,
      "whiteContrast": 2.48,
      "bestTextColor": "#000000",
      "aaTextOptions": [
        "#000000",
        "#1A1A1A"
      ],
      "aaaTextOptions": [
        "#000000",
        "#1A1A1A"
      ]
    },
    {
      "role": "accent",
      "hex": "#FFFFFF",
      "name": "White",
      "blackContrast": 21,
      "whiteContrast": 1,
      "bestTextColor": "#000000",
      "aaTextOptions": [
        "#000000",
        "#1A1A1A",
        "#36454F"
      ],
      "aaaTextOptions": [
        "#000000",
        "#1A1A1A",
        "#36454F"
      ]
    }
  ],
  "cssVariables": "--palette-mahogany-primary: #C04000;\n--palette-mahogany-secondary: #0081C2;\n--palette-mahogany-surface: #C20020;\n--palette-mahogany-background: #C2A200;\n--palette-mahogany-accent: #FFFFFF;",
  "relatedEndpoints": [
    "https://www.colorsencyclopedia.com/api/palettes/mahogany.json",
    "https://www.colorsencyclopedia.com/api/palettes.json",
    "https://www.colorsencyclopedia.com/api/colors/mahogany.json"
  ],
  "url": "https://www.colorsencyclopedia.com/palettes/mahogany/",
  "apiUrl": "https://www.colorsencyclopedia.com/api/palettes/mahogany.json"
}