About maroon
A dark brownish red. The name comes from the French marron, meaning chestnut. This is the CSS maroon. Its hex code is #800000, which is rgb(128, 0, 0): 128 red, 0 green and 0 blue on a scale of 0 to 255.
Maroon is a warm color.
Maroon tints and shades
Lighter tints (mixed with white) and darker shades (mixed with black) of maroon. Click any of them to copy its hex code.
Colors that go with maroon
Complementary
The opposite color on the color wheel, for strong contrast.
Analogous
Neighbors on the color wheel, for a calm, matching look.
Triadic
Three colors evenly spaced around the wheel, for a balanced, lively palette.
Split complementary
The two colors either side of the complement: contrast without clashing.
Text on maroon
White text
Black text
For readable text, WCAG asks for a contrast ratio of at least 4.5:1 (3:1 for large text). White text is the better choice on maroon. Test other combinations with the contrast checker.
Using maroon in CSS
.element {
color: #800000;
background-color: rgb(128 0 0);
border-color: hsl(0 100% 25%);
}
Frequently asked questions
What is the hex code for maroon?
Maroon is #800000. In RGB it's rgb(128, 0, 0), and in HSL it's hsl(0, 100%, 25%).
What colors go with maroon?
Its complementary color is #008080, which gives strong contrast. For a softer look, use analogous colors #800040 and #804000. Maroon also pairs well with white.
Is maroon warm or cool?
Maroon is a warm color.
Should I use white or black text on maroon?
Use white text. Its contrast ratio on maroon is 10.94:1, versus 1.91:1 for black.
Similar colors
- Red#FF0000rgb(255, 0, 0)
- Burgundy#800020rgb(128, 0, 32)
- Crimson#DC143Crgb(220, 20, 60)
- Rust#B7410Ergb(183, 65, 14)
- Burnt orange#CC5500rgb(204, 85, 0)
- Terracotta#E2725Brgb(226, 114, 91)
See all popular colors · All HTML color names · Open maroon in the color picker