Maroon
Maroon is a dark, vivid color from the red family. Hex code #800000.
Color codes
- CSS name
maroon - HEX
#800000 - RGB
rgb(128 0 0) - HSL
hsl(0 100% 25%) - HSB / HSV
hsb(0, 100%, 50%) - OKLCH
oklch(37.7% 0.155 29.2) - CMYK
cmyk(0%, 100%, 100%, 50%)
White text
10.94:1 · passes WCAG AAA
Black text
1.91:1 · fails WCAG
Shades
Complementary
Analogous
Triadic
About this color
Maroon in CSS and design
Maroon is a dark, vivid color from the red family. Maroon is one of the 16 basic color keywords, which go back to HTML 4, long before CSS had 148 named colors.
Use it in CSS by name or by any of its codes; these all give the same color:
color: maroon;
color: #800000;
color: rgb(128 0 0);
color: hsl(0 100% 25%);For text on maroon, white reads best. Check other combinations with the contrast checker, or browse all CSS color names.
More tools
Work with this color
- Color picker and converterPick a color and get HEX, RGB, HSL, HSB, CMYK and OKLCH, plus shades and harmonies.
- Contrast checkerCheck text and background colors against WCAG AA and AAA, and fix failing ones.
- CSS color namesAll 148 named colors with hex codes, shades, contrast and matching palettes.
- Palette generatorBuild a color palette from harmony rules, with shades and CSS variables.
Frequently asked questions
What is the hex code for maroon?
#800000. In CSS you can also use the keyword maroon, which works in every browser.
What is maroon in RGB and HSL?
In RGB it is rgb(128 0 0), in HSL hsl(0 100% 25%). For print, cmyk(0%, 100%, 100%, 50%) is a starting point, but CMYK depends on paper and ink, so check with your printer.
Should I use black or white text on maroon?
White text works better: it has a contrast ratio of 10.94:1 and passes WCAG AAA. Black text reaches 1.91:1.
Which colors go with maroon?
Its complementary color is #0D4A53, on the opposite side of the color wheel. For a calmer look, combine it with its analogous neighbors #76103F and #61350A. The palette generator builds more combinations.