Mahogany (#C04000)
The hex code for Mahogany is #C04000. It is rgb(192, 64, 0) in RGB, hsl(20, 100%, 38%) in HSL, and about cmyk(0%, 67%, 100%, 25%) in CMYK — a dark brown. White text is the more readable choice on this background.
#C04000rgb(192, 64, 0)hsl(20, 100%, 38%)hsv(20, 100%, 75%)cmyk(0%, 67%, 100%, 25%)oklch(54.9% 0.174 39.5)lab(46.18% 50.63 57.97)lch(46.18% 76.96 48.87)Colors Closest to Mahogany
Mahogany is a registered color name. These are the named colors nearest to it, measured as CIE76 distance in CIELAB — a perceptual scale, so the ordering matches what the eye sees rather than how close the raw RGB numbers happen to sit.
Browse the full index of named colors A-Z or every brown in the library.
#C04000 Channel Values
How Mahogany breaks down in each color model. Hue is measured in degrees around the color wheel; saturation, lightness, and the CMYK inks are percentages.
| Model | Channels | Notes |
|---|---|---|
| RGB | R 192 · G 64 · B 0 | 8-bit channels as sent to the display |
| HSL | H 20° · S 100% · L 38% | Easiest model for building lighter and darker variants |
| HSV | H 20° · S 100% · V 75% | Matches the picker in most design tools |
| CMYK | C 0% · M 67% · Y 100% · K 25% | Approximate ink mix; confirm with an ICC profile before printing |
| Luminance | 5.28:1 vs white · 3.97:1 vs black | WCAG 2.2 relative-luminance contrast ratios |
Text Contrast & Accessibility
WCAG 2.2 contrast ratios for text on a Mahogany background. AA requires 4.5:1 for normal text and 3:1 for large text; AAA requires 7:1. Contrast is one check, not a full accessibility review.
Need a specific ratio against another background? Open #C04000 in the contrast checker.
Colors That Go With Mahogany
Pairings derived from color-wheel relationships. The complementary color sits opposite Mahogany; analogous colors sit beside it; triadic and split-complementary sets spread evenly around the wheel. Select any swatch for its own breakdown.
Tints & Shades of Mahogany
Lighter tints and darker shades built by moving the lightness channel while holding hue and saturation, which is what you want for hover states, backgrounds, and text variants.
Want a full 50-950 ramp with semantic roles? Generate design tokens from #C04000.
How Mahogany Looks with Color Vision Deficiency
Simulated with the Viénot, Brettel & Mollon LMS projection model. Anomalous types are rendered as partial versions of the matching dichromacy, which is an approximation rather than a per-person clinical model.
#C04000#666600#935900#7E7E00#9D6B00#C13C3C#C13D2E#6C6C6CUsing #C04000 in Code
Copy-ready declarations for the places this color usually ends up.
--mahogany: #C04000;background-color: #C04000;colors: { 'mahogany': '#C04000' }Color(red: 0.753, green: 0.251, blue: 0.000)<color name="mahogany">#C04000</color>fill="#C04000"More Brown Colors
Mahogany sits in the brownfamily. These are its neighbours across that family's full range, each with its own breakdown.
#C04000 Frequently Asked Questions
What is the hex code for Mahogany?
The hex code for Mahogany is #C04000. That is rgb(192, 64, 0) in RGB, hsl(20, 100%, 38%) in HSL, and approximately cmyk(0%, 67%, 100%, 25%) in CMYK.
What is the RGB value of #C04000?
#C04000 is rgb(192, 64, 0) — red 192, green 64, and blue 0 on the 0-255 scale.
What is the CMYK value of #C04000?
#C04000 converts to approximately cmyk(0%, 67%, 100%, 25%). CMYK output is a mathematical approximation for planning; confirm production print colors with your printer and ICC profile.
Should text on #C04000 be black or white?
White text is the more readable choice. #C04000 scores 5.28:1 against white and 3.97:1 against black, and WCAG 2.2 asks for at least 4.5:1 for normal body text.
Can I write #C04000 as a CSS color keyword?
No. #C04000 is not one of the CSS color keywords, so it has to be written as a hex, rgb() or hsl() value. The closest keyword is chocolate (#D2691E) at a CIE76 distance of 15.46, which is visibly different.
Open Mahogany in a Tool
Keep exploring: every brown in the color library, the guide to shades of brown, or the full color library.