About Mahogany
Mahogany is the hex color #C04000, which translates to rgb(192, 64, 0) in RGB and hsl(20, 100%, 38%) in HSL. On the color wheel it sits at 20 degrees, with a saturation of 100 percent and a lightness of 38 percent. That combination gives Mahogany a saturated mid tone: strong enough for buttons and links, still calm enough for larger areas.
How Mahogany compares
The closest standard CSS keyword is chocolate (#D2691E), a CIE76 distance of 16.1 away in CIELAB. That is a visible difference, so the keyword is not a substitute here. In the Tailwind CSS 4.3.1 palette the nearest token is orange-700 (#CA3500), at a distance of 7.6. Inside this library the closest neighbour is Sinopia at 4.2. Sorted by lightness, Mahogany is number 12 of the 27 brown colors here.
Text on Mahogany
One of the five common text colors below clears WCAG AA for normal text on Mahogany, led by White at 5.28:1. The ratios are computed with the WCAG relative luminance formula, the same one the contrast checker uses, which opens with Mahogany already loaded as the background.
| Text color | Ratio | AA normal | AA large | AAA normal |
|---|---|---|---|---|
| White #FFFFFF | 5.28:1 | Pass | Pass | Fail |
| Ink black #0F0F12 | 3.62:1 | Fail | Pass | Fail |
| Mid grey #6B7280 | 1.09:1 | Fail | Fail | Fail |
| Dark grey #374151 | 1.95:1 | Fail | Fail | Fail |
| Light grey #E5E7EB | 4.27:1 | Fail | Pass | Fail |
Building a palette around Mahogany
The pairings above give you three classic starting points. The complementary color sits opposite on the wheel and works well as an accent that draws the eye. The analogous colors sit right beside Mahogany for calmer, harmonious combinations. The triadic pair spaces three hues evenly for a balanced, energetic palette. Open any swatch to explore it as its own color, or open the palette generator with Mahogany locked and let it fill in the rest.
Full values for Mahogany
| Format | Value |
|---|---|
| HEX | #C04000 |
| RGB | rgb(192, 64, 0) |
| HSL | hsl(20, 100%, 38%) |
| HSV | hsv(20, 100%, 75%) |
| CMYK | cmyk(0%, 67%, 100%, 25%) |
| OKLCH | oklch(54.85% 0.1739 39.51) |
| CIELAB | lab(45.47 49.21 56.68) |
Frequently asked questions
What is the RGB value of Mahogany?
Mahogany (#C04000) is rgb(192, 64, 0): 192 red, 64 green and 0 blue on the 0 to 255 scale. Red leads at 192, green follows at 64 and blue trails at 0, which puts the hue at 20 degrees. In HSL the same color is hsl(20, 100%, 38%).
What colour is #C04000?
#C04000 is Mahogany, a dark brown colour with a hue of 20 degrees, 100% saturation and 38% lightness. For print the CMYK breakdown is 0% cyan, 67% magenta, 100% yellow and 25% black. Its nearest neighbour in this library is Sinopia, 4.2 away in CIELAB, a difference you can see.
Is Mahogany a CSS color name?
No. Mahogany is not one of the 148 CSS named colors, so write it as #C04000. The nearest keyword is chocolate (#D2691E), a CIE76 distance of 16.1: far enough that the keyword reads as a different color.
What colors go with Mahogany?
Opposite Mahogany on the color wheel sits the complementary #0080C0, the boldest accent by hue. For a calmer scheme use the analogous neighbours #C00020 and #C0A000; for a balanced three-color scheme use the triadic pair #00C040 and #4000C0. Of these, #00C040 has the most contrast against Mahogany, at 2.17:1, so pair it by hue, not for legibility.
What text color is readable on Mahogany?
White (#FFFFFF) is the most readable on Mahogany, at 5.28:1, which clears WCAG AA (4.5:1) but not AAA. 1 of the 5 common text colors tested passes AA for normal text.
Use Mahogany in a tool
Nearby colors
Last updated by FusionStudios. Every value on this page is computed by the same functions the tools use. How this is calculated.