Red color · XKCD survey name

Mahogany Color Code: #4A0100

The HEX code for Mahogany is #4A0100. It is a dark, vivid red color made of 74 red, 1 green and 0 blue (HSL 1°, 100%, 15%). White text reads comfortably on it (16.20:1 contrast).

Mahogany color values

HEX #4A0100
RGB rgb(74, 1, 0)
HSL hsl(1, 100%, 15%)
HSV 1, 100%, 29%
HWB hwb(1 0% 71%)
CMYK 0%, 99%, 100%, 71%
Decimal 4849920
15%HSL lightness (dark)
100%HSL saturation (vivid)
1°Hue angle (red)
0.015Relative luminance

CMYK is a standard screen-to-print conversion. Printed results depend on inks, paper and color profiles.

What is Mahogany?

“Mahogany” is a crowd-sourced name from the XKCD Color Survey, in which participants typed names for colors they were shown. It is a popular everyday label rather than an official standard.

Its hue angle of 1° places it in the red part of the color wheel, with 100% saturation (vivid) and 15% lightness (dark). It is a warm color.

Compared with the other red colors in the Aqeeb Studio library, it is lighter than 4% of them and more saturated than 67% of them.

Its relative luminance is 0.015, which makes it a very dark color. That is below the 0.179 crossover point at which black and white text have equal contrast, so white text has the advantage.

Mahogany counts as a dark color: its HSL lightness is 15% and its relative luminance is 0.015. White text reads comfortably on it (16.20:1 contrast).

Text contrast on Mahogany

WCAG contrast of white and black text on Mahogany
TextPreviewRatioAA normalAA largeAAA normalAAA large
White text Sample text 16.20:1 Excellent Pass Pass Pass Pass
Black text Sample text 1.29:1 Poor Fail Fail Fail Fail

Ratios use the WCAG 2 formula and are truncated, never rounded up. Test any pair with the contrast checker.

Colors that go with Mahogany

Complementary color

Complementary colors sit directly opposite each other on the color wheel (180° apart). They give the strongest hue contrast, which suits calls to action and accents.

Analogous colors

Analogous colors are neighbors on the wheel, 30° either side of the base hue. They blend smoothly and are easy to combine in backgrounds, gradients and illustrations.

Triadic colors

A triadic scheme uses three hues spaced 120° apart. It is lively yet balanced, and works best when one color leads and the other two act as accents.

Split-complementary colors

Split-complementary keeps the base color and uses the two colors on either side of its complement (150° and 210°). The contrast is strong but gentler than a direct complement.

Tetradic colors

A tetradic (rectangle) scheme combines two complementary pairs at 0°, 60°, 180° and 240°. It offers variety but needs one dominant color to stay balanced.

Monochromatic variants

Monochromatic variants keep the same hue and saturation and only change lightness, which makes them dependable for UI scales and subtle layered designs.

#1F0000#1F0000
#660100#660100
#AD0200#AD0200
#F50300#F50300
#FF403D#FF403D

A “≈” before a name means the exact harmony color has no named match, so the link goes to the closest named color.

Tints and shades of Mahogany

Lighter tints (mixed with white)

Darker shades (mixed with black)

Select any swatch to copy its HEX code. Build longer scales with the tints and shades tool.

Where to use Mahogany

  • Button, banner and badge backgrounds with white text (16.20:1 contrast)
  • Dark-mode surfaces, headers and footers
  • Error and alert states (paired with an icon or label, never color alone)
  • Sale banners and urgent call-to-action buttons
  • Food, sport and event branding
  • Poster and packaging accents

Use Mahogany in CSS

:root {
  --color-mahogany: #4A0100;
}

.element {
  color: var(--color-mahogany);
  background-color: #4A0100;
  border: 2px solid #4A0100;
}

Questions about Mahogany

What is the HEX code for Mahogany?

Mahogany is #4A0100.

What is the RGB value of Mahogany?

The RGB value of Mahogany is 74, 1, 0: 74 red, 1 green and 0 blue on a 0–255 scale, written rgb(74, 1, 0) in CSS.

What is the HSL value of Mahogany?

The HSL value of Mahogany is 1°, 100%, 15% (hue, saturation, lightness), written hsl(1, 100%, 15%) in CSS.

What is the CMYK value of Mahogany?

A standard conversion gives about C 0%, M 99%, Y 100%, K 71%. Real print results depend on the inks, paper and color profile, so treat CMYK here as a reference value.

Is Mahogany a light or dark color?

Mahogany counts as a dark color: its HSL lightness is 15% and its relative luminance is 0.015. White text reads comfortably on it (16.20:1 contrast).

How does Mahogany look with white text?

White text on Mahogany has a contrast ratio of 16.20:1, rated Excellent. It meets WCAG AA for normal text.

How does Mahogany look with black text?

Black text on Mahogany has a contrast ratio of 1.29:1, rated Poor. It falls below the WCAG minimum for text.

What colors go well with Mahogany?

Dark Teal is its complementary color, and Dark Plum sits beside it as an analogous color. Lighter and darker variants of the same hue also work well for monochromatic palettes.

Where can Mahogany be used?

It suits button, banner and badge backgrounds with white text (16.20:1 contrast); dark-mode surfaces, headers and footers; error and alert states (paired with an icon or label, never color alone).

How do I use Mahogany in CSS?

Use color: #4A0100; for text, background-color: #4A0100; for fills, or define a custom property such as --color-mahogany: #4A0100; and reuse it with var(--color-mahogany).

About this color page

Crowd-sourced name from the XKCD Color Survey (CC0). Values are calculated from the HEX code; color names are labels, not trademarks or standards unless stated. Screens render colors differently, so always check important colors on your own device. See the disclaimer.