100% free no uploads no sign-up

mahogany color code

The hex code for mahogany is #C04000, which is rgb(192, 64, 0) in RGB and cmyk(0%, 67%, 100%, 25%) in CMYK. It's a dark, vivid orange. There is no official standard for mahogany; #C04000 is the value most colour references use.

#C04000mahogany
White text: 5.28:1 ✓ AABlack text: 3.97:1 large text onlyNearest name: mahogany

Move the sliders to find a lighter, darker or softer mahogany; the codes update as you go.

Mahogany colour codes

HEX#C04000
RGBrgb(192, 64, 0)
HSLhsl(20, 100%, 38%)
HSV / HSBhsv(20, 100%, 75%)
CMYKcmyk(0%, 67%, 100%, 25%)
Decimal12599296

About mahogany

Mahogany sits at a hue of 20° on the colour wheel, with 100% saturation and 38% lightness. That makes it a warm colour: warm colours feel energetic and inviting and appear to come forward on a page.

A reddish brown named after mahogany wood.

For text, white reads better on mahogany. Mahogany as text on a white background has a contrast ratio of 5.28:1, which passes the WCAG AA rule for body text (4.5:1). On black it is 3.97:1, which fails AA for body text.

Tints and shades of mahogany

Tints mix mahogany with white and shades mix it with black, in 10% steps. They're the easiest way to get lighter backgrounds and darker hover or text colours that still match.

#F9ECE6#F2D9CC#ECC6B3#E6B399#E0A080#D98C66#D3794D#CD6633#C6531A
mahogany #C04000
#AD3A00#9A3300#862D00#732600#602000#4D1A00#3A1300#260D00#130600

Colours that go with mahogany

Complementary — opposite on the colour wheel: maximum contrast

#C04000#0080C0

Analogous — neighbours 30° either side: calm and natural

#C00020#C04000#C0A000

Triadic — three hues 120° apart: lively but balanced

#C04000#00C040#4000C0

Split complementary — the two neighbours of the complement: contrast with less tension

#C04000#00C0A0#0020C0

Tetradic — four hues 90° apart: rich, use one as the main colour

#C04000#20C000#0080C0#A000C0

Mahogany text contrast

CombinationRatioAA normal (4.5:1)AA large (3:1)AAA (7:1)
mahogany on white5.28:1passpassfail
mahogany on black3.97:1failpassfail

Check mahogany against any other colour in the contrast checker.

How mahogany looks with colour blindness

Simulated with the Machado et al. (2009) model for the complete loss of one type of cone cell. Colour vision deficiency affects roughly 1 in 12 men and 1 in 200 women, most often as red-green colour blindness.

normal #C04000protanopia #665900deuteranopia #867600tritanopia #D41337

Use mahogany in code

.mahogany {
  color: #c04000;
  background-color: #c04000;
  border-color: rgb(192, 64, 0);
}

Frequently asked questions

What is the hex code for mahogany?

#C04000 is the most widely used value for mahogany. There's no official standard, so paint, fabric and brand swatches called mahogany can differ slightly; use the hex code to match it exactly on screen.

What is mahogany in RGB, HSL and CMYK?

RGB: rgb(192, 64, 0). HSL: hsl(20, 100%, 38%). CMYK: cmyk(0%, 67%, 100%, 25%). CMYK is a simple conversion for reference; for professional printing, ask your printer for a matching ink or Pantone swatch.

What colours go with mahogany?

Its complementary colour is #0080C0 (close to steel blue), which gives the strongest contrast. For a calmer look, use the analogous colours #C00020 and #C0A000, or the triadic pair #00C040 and #4000C0. Tints and shades of mahogany itself always work together.

Is mahogany a warm or cool colour?

Mahogany has a hue of 20°, which makes it warm.

Should I use black or white text on mahogany?

White. Black text on mahogany has a contrast ratio of 3.97:1 and white text has 5.28:1. WCAG asks for at least 4.5:1 for normal text and 3:1 for large text.

Is mahogany a CSS colour name?

No. Mahogany isn't one of the named colours built into CSS, so write it as a hex code: color: #c04000;

Colours similar to mahogany