About maroon
CSS maroon (#800000) is red at about half strength with no green or blue, one of the 16 HTML 4 color names.
Related deep reds are darkred (#8B0000), brown (#A52A2A) and firebrick (#B22222).
Shades and tints of maroon
Maroon lands on the 900 step. The steps follow a lightness curve modeled on Tailwind CSS's default palette; build your own in the Tailwind color generator. For maroon mixed with white, black or gray in even steps, use the tint and shade generator.
Colors that go with maroon
Partner hues are picked on the OKLCH color wheel at a mid lightness, because maroon itself is very dark.
Complementary: the opposite hue
Open in the palette generator · Compare the screen and painter's complements of maroon
Analogous: neighboring hues 30° either side
Open in the palette generator · See analogous and monochromatic colors of maroon on three wheels
Triadic: three hues 120° apart
Split complementary: the two hues beside the complement
Text on maroon
| Text | Ratio | AA normal | AA large | AAA normal |
|---|---|---|---|---|
| White | 10.95:1 | Pass | Pass | Pass |
| Black | 1.92:1 | Fail | Fail | Fail |
The ratio is the same either way round, so maroon text on a white background is also 10.95:1. Check other pairs in the color contrast checker.
Similar named colors
The CSS named colors closest to maroon, by deltaE OK distance.
See all 148 on the color names page.
Closest Tailwind CSS colors
red-900 v4: red-900, #82181A, deltaE OK 0.025
red-900 v3: red-900, #7F1D1D, deltaE OK 0.030
In Tailwind CSS v4 it is red-900 (#82181A), and in v3 red-900 (#7F1D1D). For the exact color, use an arbitrary value such as bg-[#800000]. A deltaE OK of around 0.02 is roughly the smallest difference most people notice side by side. Browse every shade on the Tailwind CSS colors page.
Maroon with color vision deficiency
An approximation of how maroon may look with protanopia, deuteranopia and tritanopia (simulated with Machado, Oliveira and Fernandes, 2009), and with achromatopsia, shown as a gray of the same luminance.
Test a whole palette or image in the color blindness simulator.
Using maroon in code
.example {
color: maroon; /* named color */
background-color: #800000; /* hex */
border-color: rgb(128, 0, 0);
}
