Skip to main content

Mahogany

#C04000·brown family·WCAG AA

Tints & Shades

50

100

200

300

400

500

600

700

800

900

Scale from white (50) through Mahogany (500) to black (900), interpolated in Lab color space.

Color Values

HEX
#C04000
RGB
rgb(192, 64, 0)
HSL
hsl(20, 100%, 38%)
OKLCH
oklch(0.549 0.174 40)
CMYK
cmyk(0%, 67%, 100%, 25%)
Luminance:0.1487
CSS var:--color-mahogany
Tailwind:bg-[#C04000]

Accessibility

Score: 54/100

On White (#FFF)

5.28:1

AA

On Black (#000)

3.97:1

AA Large

On Light Gray (#F5F5F5)

4.85:1

AA

Best text color on this background:

white5.28:1
Open in Contrast Checker →

Design Applications

Background

background-color: #C04000

Text Color

color: #C04000

bg-[#C04000] text-[#FFFFFF]

Accent border card component

border-left: 4px solid #C04000

Color Meaning & Psychology

Brown is the color of earth, wood, and food — the most organic color in the spectrum. It conveys honesty, dependability, and unpretentiousness. Unlike the engineered precision of black, brown's warmth feels handmade and authentic. Coffee culture has made brown aspirational in ways it never was in the 20th century; the smell and warmth of a coffee shop is inseparable from its brown palette. Darker, richer browns signal luxury craft — leather, walnut, dark chocolate. Lighter sandy browns feel outdoor, regional, and approachable. Brown's weakness is its association with dirt and decay in medical contexts, where it is largely avoided. Its deeper, richer tone gives it gravitas and sophistication, making it well-suited for primary brand colors, typography, and contexts where authority matters.

Industry Usage

Common contexts and industries where Mahogany is applied in professional design.

  • Coffee shops and specialty beverage brands
  • Chocolate and premium confectionery
  • Outdoor gear and hiking equipment
  • Furniture and home furnishing brands
  • Craft beer and artisanal food products
  • Leather goods and accessories
  • Organic and natural food products
  • Heritage and classic whiskey/spirits brands

Accessibility Considerations

Normal Text

Passes AA

4.5:1 minimum required

Large Text

Passes AA Large

3:1 minimum required

UI Components

Meets 1.4.11

3:1 for non-text UI

Mahogany is a dark color. Use white (#FFFFFF) text on top of it for maximum readability (5.28:1). Avoid small black text on this background.

CSS & Code Examples

Background

background-color: #C04000;

Text

color: #C04000;

Border

border: 2px solid #C04000;

Box Shadow

box-shadow: 0 4px 20px #C0400040;

Gradient

background: linear-gradient(135deg, #C04000, #fa7034);

Tailwind-style

--color-mahogany: #C04000;

Tailwind CSS Utilities

Use arbitrary value syntax in Tailwind CSS to apply Mahogany without a custom config.

Background

bg-[#C04000]

Text

text-[#C04000]

Border

border-[#C04000]

Ring

ring-[#C04000]

Fill

fill-[#C04000]

From (gradient)

from-[#C04000]

Via (gradient)

via-[#C04000]

To (gradient)

to-[#C04000]

Design Tokens

Ready-to-use Mahogany design token in CSS custom properties, SCSS, Tailwind v3/v4, and JSON formats.

CSS Custom Properties

:root {
  --color-mahogany: #C04000;
  --color-mahogany-rgb: 192, 64, 0;
  --color-mahogany-hsl: 20, 100%, 38%;
}

SCSS Variables

$color-mahogany: #C04000;
$color-mahogany-rgb: 192, 64, 0;
$color-mahogany-hsl: 20, 100%, 38%;

Tailwind v3 Config

// tailwind.config.js
module.exports = {
  theme: {
    extend: {
      colors: {
        'mahogany': '#C04000',
      },
    },
  },
};

Tailwind v4 (@theme)

/* tailwind.css */
@theme {
  --color-mahogany: #C04000;
}

JSON Design Token (W3C format)

{
  "mahogany": {
    "value": "#C04000",
    "type": "color",
    "description": "Mahogany — #C04000"
  }
}

What Does Mahogany Mean? Color Psychology & Cultural Symbolism

Mahogany (#C04000) speaks the visual language of earth—the color of soil, wood, leather, and the raw materials of making. Brown-family tones project warmth through an ancient, universal association with the physical world: solid, reliable, and honestly crafted.

  • Brown carries the associations of the earth, wood, leather, and the materials of pre-industrial life—a grounding quality that contemporary branding leverages for authenticity, craft, and natural origin. Its associations with coffee, chocolate, and wood make it an instinctive choice for artisanal food and lifestyle brands.
  • Across Asian cultures, brown tones—particularly warm earthy reds and ochres—appear extensively in traditional architecture, ceramics, and clothing. Earth tones are universally associated with stability and natural order, and brown occupies this role across most of the world's cultural traditions.
  • Mahogany's deep lightness (38%) shifts its psychological register: a balanced mid-tone that embodies earthiness, stability, warmth, and authenticity at its most direct.
  • At 100% saturation, Mahogany reads as vivid—Richer, more saturated terracottas and warm siennas carry a Mediterranean, artisanal energy—earthy but vibrant, associated with ceramic crafts and sun-baked landscapes.

The brands that use Mahogany well are the ones that understand that authenticity can't be faked—it can only be matched by colors that embody it.

How to Use Mahogany in Design: Applications, Pairings & Best Practices

Brands reaching for authenticity and craft frequently choose Mahogany over other options precisely because it doesn't try to be clever. It simply is what it is—warm, honest, and materially grounded.

  • UI components: warm accent colors, earthy neutral backgrounds, natural brand accents—Mahogany performs reliably in all these roles with its deep tonal character.
  • Brand & identity: coffee and chocolate brands, craft beer packaging, outdoor gear—contexts where Mahogany's vivid quality creates the right register.
  • Typography: Mahogany works as a background behind white text but requires careful sizing—test at intended heading and body sizes before finalizing.
  • As a dark tone, Mahogany creates maximum contrast with white and light neutrals—excellent for creating premium dark-mode sections, bold headers, and high-drama brand moments
  • Proportional use: Mahogany's vivid saturation (100%) means small applications—accents, highlights, icons—deliver maximum impact without visual fatigue. Reserve large-scale use for intentional brand moments.

The brands that use Mahogany well are the ones that understand that authenticity can't be faked—it can only be matched by colors that embody it.

Mahogany Accessibility: WCAG Contrast Ratios, Color Blindness & Inclusive Design

Mahogany (#C04000) reaches 5.28:1 contrast with white text—meeting WCAG 2.1 AA minimum of 4.5:1 for normal text and 3:1 for large text. It clears standard production accessibility requirements. Relative luminance: 14.9%.

  • As text on white (#FFFFFF): 5.28:1 — AA ✓
  • As text on black (#000000): 3.97:1 — AA (large text only)
  • Best text color on Mahogany background: White (#FFFFFF) at 5.28:1
  • WCAG 2.1 luminance: 14.9% — low luminance (dark)—it provides strong contrast for white and light overlaid text, functioning well as a background in dark-mode and header contexts
  • Mahogany qualifies for normal body text and all larger sizes (AA).
  • Color blindness consideration: protanopia and deuteranopia (red-green color blindness, ~8% of males) may affect how brown-family colors are distinguished from greens and browns. For critical UI states, supplement color alone with shape, label, or pattern cues.

For production use, test Mahogany against your specific background colors rather than assuming #FFFFFF or #000000 performance translates. Surrounding colors alter perceived contrast.

Mahogany in Industry: Branding, Design & Market Applications

Mahogany (#C04000) is most at home in industries where earthiness, stability, warmth, and authenticity are key brand values. Its deep quality makes it particularly effective in Food & Beverage contexts, where the vivid saturation signals reliability at exactly the right register.

  • Food & Beverage: Brown's associations with coffee, chocolate, bread, and wood-fire cooking make it indispensable for food brands that want to project artisanal quality, warmth, and natural origin. The color does the work of suggesting handmade, slow-craft processes before a single word is read. (examples: Chipotle, Sweetgreen, Blue Bottle Coffee) Light browns work for dairy and bakery; dark browns for coffee, chocolate, and premium spirits.
  • Outdoor & Lifestyle: Outdoor, hiking, and adventure brands use brown as an earth tone that grounds the product in natural environments. Combined with forest greens and slate grays, it creates a palette language of terrain, durability, and wilderness competence. (examples: Yeti, Arc'teryx, Patagonia) Brown leather and canvas associations make it particularly effective for gear, footwear, and heritage outdoor brands.
  • Craft & Artisanal: The craft movement across food, beer, candles, and home goods has made brown its unofficial color—it signals hand-made, small-batch, locally-sourced, and premium-for-a-reason. Any product that wants to claim artisanal credentials benefits from earthy, brown-anchored packaging. Kraft paper brown in particular has become synonymous with sustainable, artisanal packaging.
  • Brand positioning: Mahogany is best suited for brands projecting naturalness, warmth, reliability. Categories outside this positioning—technology products—tend to see weaker results.
  • Adjacent applications: Beyond primary industries, Mahogany works effectively in artisanal food, furniture and home goods, natural product labels—contexts where reliability serves a secondary but reinforcing role.

The industries where Mahogany performs best are those where the audience expects reliability. Build brand strategy around this alignment, not against it.

Frequently Asked Questions

What is the hex code for Mahogany?
The hex code for Mahogany is #C04000. Its RGB values are rgb(192, 64, 0) and its HSL values are hsl(20, 100%, 38%).
What does Mahogany mean in design?
Brown is the color of earth, wood, and food — the most organic color in the spectrum. It conveys honesty, dependability, and unpretentiousness. Unlike the engineered precision of black, brown's warmth feels handmade and authentic. Coffee culture has made brown aspirational in ways it never was in the 20th century; the smell and warmth of a coffee shop is inseparable from its brown palette. Darker, richer browns signal luxury craft — leather, walnut, dark chocolate. Lighter sandy browns feel outdoor, regional, and approachable. Brown's weakness is its association with dirt and decay in medical contexts, where it is largely avoided. Its deeper, richer tone gives it gravitas and sophistication, making it well-suited for primary brand colors, typography, and contexts where authority matters.
Is Mahogany WCAG accessible?
Mahogany (#C04000) passes WCAG AA on white with a 5.28:1 contrast ratio. Its overall accessibility score is 54/100.
What colors go well with Mahogany?
Mahogany pairs well with its complementary color Columbia Blue (#C4D8E2). Analogous colors like Cardinal and Vermilion also work harmoniously. Check the Color Harmonies section above for the full palette.
What is Mahogany used for?
Mahogany is commonly used for: Coffee shops and specialty beverage brands; Chocolate and premium confectionery; Outdoor gear and hiking equipment; Furniture and home furnishing brands; Craft beer and artisanal food products.
What are the CSS and Tailwind values for Mahogany?
In CSS, use `color: #C04000` or `background-color: #C04000`. The CSS custom property is `--color-mahogany: #C04000`. In Tailwind CSS, use the arbitrary value class `bg-[#C04000]` for backgrounds or `text-[#C04000]` for text.