Skip to content

Maroon

Hex #800000, rgb(128 0 0). A red CSS named color.

Open in palette generator

Maroon color codes

Click any value to copy it.

HEX
RGB
HSL
HSV
HWB
CMYK
OKLCH
OKLab
Lab
LCH
CSS keyword

About Maroon

Maroon is a dark saturated red with the hex code #800000. In RGB it is made of 128 red, 0 green and 0 blue; in HSL its hue is 0°, with 100% saturation and 25% lightness. Its perceptual lightness (OKLCH L) is 37.7%.

It is a CSS named color, so you can write "maroon" anywhere CSS accepts a color. Against white it has a contrast ratio of 10.95:1 and against black 1.92:1, so white text reads better on it and passes WCAG AA for normal text.

Tints, shades and tones

Maroon mixed step by step with white, black and middle gray (#808080).

Tints (with white)

Shades (with black)

Tones (with gray)

Maroon 50-950 scale

A Tailwind-style scale built in OKLCH; the original color sits on the step with the closest lightness.

Colors that go with Maroon

Color harmonies rotate the hue in OKLCH and keep the lightness and chroma. Each color links to its closest named color.

Complementary

Analogous

Triadic

Split complementary

Monochromatic

Contrast and readability

WCAG 2 contrast of Maroon with white and black. The readable text color on Maroon is white.

Maroon textSmall text on white

On white10.95:1

  • AA pass
  • AA Large pass
  • AAA pass
  • UI 3:1 pass

APCA Lc 93

Maroon textSmall text on black

On black1.92:1

  • AA fail
  • AA Large fail
  • AAA fail
  • UI 3:1 fail

APCA Lc -10

White text on Maroon (#FFFFFF)

Test any pair in the contrast checker.

Color blindness preview

How Maroon appears with each type of color vision deficiency (simulated with the Machado model).

  • Protanopia#332C00
  • Deuteranopia#504600
  • Tritanopia#8E0003
  • Protanomaly#512900
  • Deuteranomaly#5C3B00
  • Tritanomaly#860001
  • Achromatopsia#3C3C3C

Colors similar to Maroon

The closest named colors by perceptual difference (OKLab).

Use Maroon in CSS and Tailwind

CSS
.maroon {
  color: maroon; /* #800000 */
  background-color: rgb(128 0 0);
  border-color: oklch(37.7% 0.155 29.2);
}
Tailwind CSS
/* Tailwind CSS v4: bg-maroon-500, text-maroon-700... */
@theme {
  --color-maroon-50: #FFF8F7;
  --color-maroon-100: #FFE8E4;
  --color-maroon-200: #FFCFC7;
  --color-maroon-300: #FFA79A;
  --color-maroon-400: #FF6755;
  --color-maroon-500: #FF120B;
  --color-maroon-600: #DF0000;
  --color-maroon-700: #B80000;
  --color-maroon-800: #980000;
  --color-maroon-900: #800000;
  --color-maroon-950: #330000;
}

<!-- or the exact color, no config -->
<div class="bg-[#800000] text-[#FFFFFF]">…</div>