Find Color Codes

Maroon (HTML/CSS) Color Codes

Maroon (HTML/CSS) is a dark, vivid red with the hex code #800000, RGB values of 128, 0, 0 and an HSL value of hsl(0, 100%, 25%).

HEX#800000
RGB128, 0, 0
HSLhsl(0, 100%, 25%)
HSV0°, 100%, 50%
CMYK0%, 100%, 100%, 50%
LAB25.54, 48.05, 38.06
CIELCHuv25.54, 85.87, 12.17°
Nearest Pantone
PMS 484 C ΔE 11.8 · approximate
Nearest CSS name
maroon ΔE 0.0

Source CSS Color Module Level 4 keyword 'Maroon'

Maroon (HTML/CSS) Color Hex Code

The Maroon (HTML/CSS) color hex code is #800000. Those six digits are three pairs, 80 for red, 00 for green and 00 for blue, which is the same triplet a browser reads from the CSS value below.

#800000

Maroon (HTML/CSS) Color RGB Code

The Maroon (HTML/CSS) RGB code is rgb(128, 0, 0). Red carries the most light at 128 of 255, which is what puts this color where it sits on the wheel.

rgb(128, 0, 0)

Maroon (HTML/CSS) Color HSV Code

The Maroon (HTML/CSS) HSV code is 0°, 100%, 50%. Read it as a hue of 0 degrees, 100% saturation and 50% value, which is the form most color pickers use because moving one number changes one thing.

0°, 100%, 50%

Maroon (HTML/CSS) Color CIELChuv Code

The Maroon (HTML/CSS) CIELCHuv code is 25.54, 85.87, 12.17°. Unlike hex or RGB this one is perceptual: lightness 26 means dark to the eye rather than to the screen, and chroma 86 is how far it sits from grey.

25.54, 85.87, 12.17°

Tonal scale

What are Maroon (HTML/CSS) Color Palettes?

A shade mixes toward black, a tint toward white, a tone toward grey. Every step keeps the hue and is copy-ready.

Shades, toward black

Tints, toward white

Tones, toward grey

Open in the shades & tints generator →

Palettes

What are Maroon (HTML/CSS) Color Palette Codes?

Each of these is a hue rotation from #800000. They are generated, not curated, so they are exact.

Complementary

Directly opposite sits #008080, a mid-tone, vivid teal. No other pairing separates two hues further, so this is the one to reach for when a single element has to win attention. Both are saturated, so give the complement much less area than the base or the two will fight.

Analogous

#800040 and #804000 sit 30 degrees either side. All three share most of their hue, so the set reads as one family instead of three separate decisions. Good for backgrounds and for state variations that should not announce themselves.

Triadic

#008000 and #000080 complete an even 120 degree split. Three fully independent hues, so one has to lead: keep this base dominant and let the other two appear in small quantities.

Split-complementary

Instead of the direct complement, this takes the two hues either side of it: #008040 and #004080. Almost the same contrast, without the edge shimmer a true complementary pair produces at high saturation.

Tetradic

Two complementary pairs forming a rectangle: this base with #008080, and #408000 with #400080. The richest of the five and the hardest to balance, so treat this base as the lead and hold the other three well back.

See these on the color wheel →

Accessibility

Contrast checker: is Maroon (HTML/CSS) accessible?

Measured against white and against black, with a separate verdict for each element type. Small text, large text and UI components have different thresholds, so one pass or fail for the whole color would be wrong roughly a third of the time.

White background

10.95:1

10.95

contrast ratio on white background

ElementAAAAA
Small text needs 4.5:1 / 7:1 Passes Passes
Large text needs 3:1 / 4.5:1 Passes Passes
UI component needs 3:1 Passes n/a

Black background

1.92:1

1.92

contrast ratio on black background

ElementAAAAA
Small text needs 4.5:1 / 7:1 Fails Fails
Large text needs 3:1 / 4.5:1 Fails Fails
UI component needs 3:1 Fails n/a

Maroon (HTML/CSS) clears WCAG AA against white at 10.95:1, so it is safe for body copy as well as headings. Text placed on it should be white, which gives 10.95:1. It is a highly saturated color, so it will dominate anything it sits beside. Give it space rather than surrounding it with other strong colors.

Color vision

How Maroon (HTML/CSS) looks with color blindness

Around 300 million people see color differently from the way it is specified. Each card shows the actual color beside how it appears, and how common that form of vision is.

Protanopia

About 1% of men
actual

#626100

Maroon (HTML/CSS) changes substantially here. ΔE 60.5

No working red cones. Reds darken sharply and drift toward the same muddy olive as green.

Deuteranopia

About 1% of men
actual

#676C00

Maroon (HTML/CSS) changes substantially here. ΔE 65.5

No working green cones. With the milder deuteranomaly at nearer 6% of men, this is by far the most common form, and the one worth designing around.

Tritanopia

About 1 in 10,000
actual

#7D0000

Maroon (HTML/CSS) holds up almost unchanged here. ΔE 1.4

No working blue cones. Blues shift toward green and yellows toward pink. Rare, and unlike the others it is not sex-linked, so it affects men and women equally.

Achromatopsia

About 1 in 30,000
actual

#3C3C3C

Maroon (HTML/CSS) changes substantially here. ΔE 61.3

No color vision at all. Also a fair proxy for how the color survives a greyscale print or a failing screen.

To a deuteranope, the most common form, Maroon (HTML/CSS) reads as #676C00. That is a shift of ΔE 65.5, so it is a different color to roughly one man in sixteen. It sits in the red end of the spectrum, which is exactly where red-green deficiency does its damage. Never pair it with a green of similar lightness to signal a difference in meaning: to a large minority the two become one color. The widest shift is under deuteranopia, at ΔE 65.5. The rule this leads to needs no simulator: never let color be the only thing carrying a message. Add a label, an icon, or a clear difference in lightness, and the problem disappears for everyone.

Snippets

Using Maroon (HTML/CSS) in code

:root {
  --maroon-html-css: #800000;
}

.example {
  color: var(--maroon-html-css);
}