Maroon Hex Code #800000
Maroon is a dark, strong red with the hex code #800000. In RGB it is 128, 0, 0, and in HSL it is 0°, 100%, 25%. It is one of the 148 named colors in CSS, so you can write “maroon” instead of the hex code.
- HEX
- #800000
- RGB
- rgb(128, 0, 0)
- HSL
- hsl(0, 100%, 25%)
- HSV
- hsv(0°, 100%, 50%)
- CMYK
- cmyk(0%, 100%, 100%, 50%)
- CSS name
- maroon
CMYK is a simple screen-to-print estimate. Real print results depend on the printer and paper.
About Maroon
On a white background Maroon has a contrast ratio of 10.95:1 (AAA), and on black 1.92:1 (Fail). White text is the better choice on top of it.
It sits on the warm side of the color wheel, a range that tends to feel energetic and appears to advance toward the viewer.
Red draws attention and signals urgency, which is why it is common for alerts, errors and sale tags. Because people strongly associate it with warnings, use it sparingly for anything that is not an alert.
Good to know: Maroon (#800000) is red at half intensity: the red channel is 128, and green and blue are zero.
Shades and tints of Maroon
Tints mix Maroon with white and shades mix it with black, in steps of 20%. Select a swatch to copy its hex code.
Color harmonies for Maroon
These schemes are calculated from Maroon on the RGB (screen) color wheel. Select a swatch to copy it, or open any scheme in the color wheel to adjust it.
On the artist’s RYB wheel, the complement of Maroon is #008000, close to the named color Green.
Maroon contrast and accessibility
WCAG asks for a contrast ratio of at least 4.5:1 for normal text and 3:1 for large text (AA), and 7:1 and 4.5:1 for AAA. This is how Maroon scores against white and black.
| Against | Ratio | AA normal | AA large | AAA normal | AAA large |
|---|---|---|---|---|---|
| White (#ffffff) | 10.95:1 | ✓ Pass | ✓ Pass | ✓ Pass | ✓ Pass |
| Black (#000000) | 1.92:1 | ✕ Fail | ✕ Fail | ✕ Fail | ✕ Fail |
Maroon and color blindness
These are approximate previews of how Maroon can look with the main types of color vision deficiency.
Maroon changes noticeably.
Maroon changes noticeably.
Maroon looks almost the same.
Maroon changes noticeably.
Gradients with Maroon
Three ready-made starting points. Copy the CSS, or open one in the generator to edit the stops and check contrast.
Maroon to a lighter tint
background: linear-gradient(135deg, #800000 0%, #cc9999 100%); Maroon to its analogous neighbour
background: linear-gradient(135deg, #800000 0%, #804000 100%); Maroon to its complement
background: linear-gradient(135deg, #800000 0%, #008080 100%); Colors similar to Maroon
How each close match differs from Maroon.
Use Maroon in code
.element {
color: #800000;
background-color: #800000;
border-color: maroon; /* maroon is a valid CSS color name */
} :root {
--color-maroon: #800000;
} <!-- Tailwind arbitrary values -->
<div class="bg-[#800000] text-[#800000] border-[#800000]"></div>
/* Tailwind v4 theme color */
@theme {
--color-maroon: #800000;
} Maroon questions
What is the hex code for Maroon?
The hex code for Maroon is #800000. In RGB that is rgb(128, 0, 0), and in HSL it is hsl(0, 100%, 25%).
What is the complementary color of Maroon?
On the RGB (screen) color wheel, the complement of Maroon is #008080, which is close to Teal. On the artist’s RYB wheel it is #008000, close to Green.
Should I use white or black text on Maroon?
White text. It has a contrast ratio of 10.95:1 against Maroon, which is WCAG AAA. The other option scores 1.92:1.
Is Maroon accessible as a text color on white?
Yes. Maroon on white scores 10.95:1, which passes WCAG AA for normal text (4.5:1) and AAA (7:1).
What are darker and lighter shades of Maroon?
Mixing Maroon with black gives #660000, #4D0000, #330000, #1A0000 (20% to 80% black). Mixing it with white gives #993333, #B36666, #CC9999, #E6CCCC (20% to 80% white).