Mahogany

ماهوجني

Color codes

HEX
RGB
HSL
HSV
CMYK (approximate)
CIELAB
CSS
Relative luminance0.1487

Shades of Mahogany

All shades

Lighter

Darker

Tints mixed with white

Tones mixed with gray

Color harmonies

Complementary

Opposite on the wheel (180°): maximum contrast for accents.

Export
Analogous

Neighbors 30° apart: calm and natural.

Export
Triadic

Three hues 120° apart: vibrant yet balanced.

Export
Split-complementary

The base plus the two neighbors of its complement: contrast with less tension.

Export
Tetradic

Four hues 90° apart: rich, best with one dominant color.

Export
Monochromatic

One hue in several lightness levels: elegant and consistent.

Export

Contrast and readability

White text5.28:1
✓ AA✗ AAA✓ AA Large
Black text3.97:1
✗ AA✗ AAA✓ AA Large
On white5.28:1
✓ AA✗ AAA✓ AA Large
On black3.57:1
✗ AA✗ AAA✓ AA Large

Text colors that pass AA

Check in the contrast checker

In a design

Plan your next project

A short paragraph shows how body text sits next to the color.

Get started Learn more
New

Cards and badges use a soft tint of the color. Read more

Plan your next project

A short paragraph shows how body text sits next to the color.

Get started
New

Cards and badges use a soft tint of the color.

Mahogany

Full-color background with readable text.

Get started

About Mahogany

Mahogany (#C04000) is a dark, highly saturated color from the Orange family with a warm character. It is made of 192 red, 64 green and 0 blue (hsl(20, 100%, 38%)). Its contrast ratio is 5.28:1 against white and 3.97:1 against black, so white text reads best on it.

Suggested uses

  • buttons, highlights and calls to action
  • logos and brand accents
  • designs that should feel energetic or welcoming

Reading the codes

In HEX, #C04000 stores red, green and blue as pairs of base-16 digits: 192, 64 and 0 out of 255. In HSL the same color has a hue of 20°, 100% saturation and 38% lightness, which makes lighter or darker variants easy to create by changing only the lightness.

Similar colors

Palettes with this color

Tools for this color

Frequently asked questions

What is the HEX code of Mahogany?
The HEX code of Mahogany is #C04000. In RGB it is rgb(192, 64, 0) and in HSL hsl(20, 100%, 38%).
Which text color works on Mahogany?
White text has a contrast ratio of 5.28:1 on Mahogany and black text 3.97:1, so white text is more readable. WCAG AA needs at least 4.5:1 for normal text.
What is the complementary color of Mahogany?
Rotating the hue of Mahogany by 180° gives #0080C0, its complementary color on the RGB color wheel.
What is Mahogany in CMYK?
An approximate CMYK value for Mahogany is cmyk(0%, 67%, 100%, 25%). For printing, ask your printer for an ICC-profiled conversion.