Maroon Color Code: Hex #800000
The hex code for Maroon is #800000 (the CSS keyword maroon). Maroon RGB code: rgb(128, 0, 0). The xkcd color survey gives #650021 instead, which looks clearly different; both codes are below with their source.
#800000Top: the code browsers use#650021Below: compare edge to edgeMaroon color codes: each Maroon hex code in every format
Sources
Properties
- Hex codes
- 2 different ones in 3 color lists; they look clearly different
- Family
- red
- Contrast
- 10.95:1 with white, 1.92:1 with black
- CSS keyword
- maroon
- Character
- dark, vivid
- Readable text on it
- white (AA)
The name comes from the French marron, chestnut, which is also one of the French words for brown.
A dark, vivid red with a warm cast. In code, maroon gives exactly this web value. If you mean the color as people usually picture the name, the survey value #650021 is closer: it is darker and more muted.
White text reads best on it; black text does not pass WCAG AA. Its exact opposite on the color wheel cannot be shown on screens, so the complementary palette uses the closest displayable version. Even pale tints keep its hue, which makes it easy to use for soft backgrounds. Next to Dark Red, its closest named neighbour, it looks darker, about as saturated and neither warmer nor cooler; beside Auburn it looks darker, about as saturated and neither warmer nor cooler. It is one of the darkest of the red family here. It is one of the 16 original HTML 4 color names.
Colors that go with Maroon
Complementary: the opposite of Maroon
#800000White text 10.95:1#004B54White text 9.84:1#C07D73Black text 6.42:1#002B31White text 15.11:1
Analogous
#7A003FWhite text 11.06:1#800000White text 10.95:1#633400White text 10.39:1#D3A098Black text 9.25:1
Triadic
#800000White text 10.95:1#00501FWhite text 9.69:1#233492White text 10.62:1#E4C3BDBlack text 12.84:1
Monochrome
#1F0000White text 19.84:1#4D0000White text 15.96:1#800000White text 10.95:1#AC5B4FWhite text 4.81:1#D3A098Black text 9.25:1
With neutrals
#800000White text 10.95:1#E4C3BDBlack text 12.84:1#0B0000White text 20.71:1#86635DWhite text 5.31:1
Preview
Heading on Maroon
Body text on this color, 10.95:1.
ButtonHeading in Maroon
Text in this color on white, 10.95:1.
ButtonTints and shades
#E4C3BD#D3A098#C07D73#AC5B4F#97372C#800000#660000#4D0000#350000#1F0000#0B0000
WhiteMaroonBlack
Similar named colors
Where the name comes from
- Source: Wikipedia, “Shades of brown” (checked 2 Nov 2026)
- Listed in CSS Color 4, xkcd color survey, meodai color-name-list. About these lists.
Try it: