CSS color names · Browns

Maroon color: hex #800000, RGB and HSL

Maroon is the CSS keyword maroon, hex #800000, rgb(128, 0, 0), hsl(0, 100%, 25%). It is a dark, fully saturated red in the browns family. Below: the colors that go with it, its tints and shades, how it reads as text, and a complete interface palette built from it.

CSS name
maroon
Hex
#800000
RGB
rgb(128, 0, 0)
HSL
hsl(0, 100%, 25%)
On white
10.95:1 — passes AA for body text
On black
1.92:1 — fails AA; use as a fill, not text
.example {
  color: maroon;          /* keyword */
  color: #800000;          /* hex */
  color: rgb(128, 0, 0); /* rgb */
  color: hsl(0, 100%, 25%); /* hsl */
}

What colors go with maroon

Each match keeps maroon's saturation and lightness and rotates only the hue, so the relationship is the wheel's and nothing else. Any of these can be an accent beside maroon as the primary; the harmony guides explain which rule suits which interface.

Complementary

The opposite hue, 180° away — the strongest contrast, best kept to one accent per screen.

Split-complementary

The two neighbors of the complement, at 150° and 210° — most of the contrast with less tension, and two accents instead of one.

#008040
#004080

Triadic

Two hues at 120° and 240° — three evenly spaced signals, the scheme charts and category colors want.

Analogous

The neighbors at −30° and +30° — calm and cohesive, with emphasis coming from weight and size rather than hue.

#800040
#804000

Tints and shades of maroon

Tints add lightness toward white; shades remove it toward black. The hue and saturation stay fixed, so every step still reads as maroon — these are the hover, pressed, disabled and surface variants a single brand color needs.

Tints (lighter)

#c00000
#ff0000 · red
#ff4040
#ff8080
#ffbfbf

Shades (darker)

#6b0000
#550000
#400000
#2b0000
#150000

A UI color palette built from maroon

The eight semantic roles an interface actually uses, derived from maroon as the primary with the split-complementary rule: secondary and accent rotate around the wheel, and the five neutrals take the hue at lightness steps tuned for light and dark mode. This is the same derivation the palette generator runs — open it there to change the rule, drag the anchors, or export the set as CSS variables.

Light mode
primary
#800000
secondary
#008040
accent
#004080
background
#fdfcfc
surface
#f7f3f3
text
#221111
muted
#8f5656
border
#ecdfdf
Dark mode
primary
#ff1a1a
secondary
#1aff8c
accent
#1a8cff
background
#1b0e0e
surface
#281515
text
#f6f3f3
muted
#b89494
border
#492727

Using maroon in an interface

Browns are muted oranges, and they behave like neutrals with warmth: the light ones make paper-like page backgrounds, the mid tones make borders and muted text, and the dark ones can carry body text. Brands that want to feel crafted or organic lean on this family. Whichever role maroon takes, define it once as a token rather than repeating the keyword: the semantic palette guide covers the eight roles, and the guides to complementary, triadic and the other color schemes explain how to weight the matches above.

What is the hex code for Maroon?
Maroon is #800000. In CSS the keyword maroon, the hex #800000, rgb(128, 0, 0) and hsl(0, 100%, 25%) all paint the same color.
What colors go with Maroon?
Its complement is #008080, the split-complementary pair is #008040 and #004080, the triadic partners are #008000 and #000080, and the analogous neighbors are #800040 and #804000. In an interface, use Maroon for most colored elements and one of these for a single accent, at roughly an 80/20 split.
What is the opposite of Maroon on the color wheel?
The opposite (complementary) color is #008080, the same saturation and lightness rotated 180° around the HSL wheel. Complementary pairs give the strongest contrast, which is why the complement should be used sparingly rather than at equal weight.
Can I use Maroon for text?
Maroon as text on white has a contrast ratio of 10.95:1, which passes WCAG AA for body text (4.5:1). On black it is 1.92:1, which fails for body text. It works as a text color on light surfaces.

Similar named colors

More browns

We'd like to use Google cookies to understand how Nodlume is used and to measure our advertising. Nothing loads until you choose, and declining does not affect anything in the app.