Maroon hex code: #800000, with RGB, CMYK and color code

The maroon hex code is #800000, which is rgb(128, 0, 0). It is the CSS colour 'maroon', a dark red, and also the maroon color code to copy into any design tool. Not sure whether you need maroon or burgundy? A side-by-side table is below.

Open HEX to RGB converterFree. Nothing uploaded.

Reference

Maroon color code in HEX, RGB, HSL, HSV and CMYK

Find the format your tool wants and copy the row. A script produced every value from the single code #800000, so none of it is typed from memory.

The CMYK row is a simple conversion from RGB. Treat it as a starting point for print and ask your printer for a proof.

Maroon color code in HEX, RGB, HSL, HSV and CMYK
FormatValue
HEX#800000
RGBrgb(128, 0, 0)
HSLhsl(0, 100%, 25%)
HSV (hue, saturation, value)0, 100%, 50%
CMYK (simple conversion)0%, 100%, 100%, 50%
CSS keywordmaroon
Contrast against white10.95:1
Contrast against black1.92:1

In depth

Maroon RGB: rgb(128, 0, 0)

Maroon in RGB has red at 128, and green and blue at 0. Red sits at half of its range, which is why the colour is dark. With no green or blue, there is nothing to shift the hue away from pure red. In HSL that gives hue 0, saturation 100% and lightness 25%.

As fractions from 0 to 1, maroon is 0.502, 0.000, 0.000.

Reference

Copy-ready CSS lines for maroon

All four lines produce the same dark red in a browser.

Copy-ready CSS lines for maroon
StyleCSS line
Hexcolor: #800000;
Hex as a backgroundbackground-color: #800000;
RGBcolor: rgb(128, 0, 0);
HSLcolor: hsl(0, 100%, 25%);
Keywordcolor: maroon;

In depth

Where #800000 comes from

The CSS Color Module Level 4 defines maroon as #800000, and we read that entry in the W3C list on 17 November 2026. Writing color: maroon in a stylesheet gives you this exact colour. The code is half-strength red and nothing else.

Outside CSS, paint, school and sports teams use their own maroons, often a little brown or purple. If a brand guide gives a code, use theirs.

Reference

Maroon or burgundy? Compare the two codes

People mix these up because both are dark reds. The difference is a small amount of blue. Burgundy has no official web code. The table uses #800020, the working value from our burgundy guide.

Look at the contrast row. The two colours measure 1.01:1 against each other. That is almost no difference in brightness. You tell them apart by hue, not by lightness.

Maroon or burgundy? Compare the two codes
PropertyMaroonBurgundy (#800020)
HEX#800000#800020
RGBrgb(128, 0, 0)rgb(128, 0, 32)
HSLhsl(0, 100%, 25%)hsl(345, 100%, 25%)
Blue channel032
Contrast against white10.95:110.83:1
Contrast against black1.92:11.94:1
CSS keywordmaroonnone

Reference

Eight maroon variants with their hex codes

Five of these codes are a computed ladder. Each keeps hue 0 and saturation 100% and changes only the lightness. The other three are CSS named colours that sit near maroon. The HSL column is read back from the rounded hex.

Eight maroon variants with their hex codes
VariantMethodHEXRGBHSL
1Computed: hue 0, saturation 100%, lightness 15%#4C0000rgb(76, 0, 0)hsl(0, 100%, 15%)
2Computed: hue 0, saturation 100%, lightness 20%#660000rgb(102, 0, 0)hsl(0, 100%, 20%)
3Computed: hue 0, saturation 100%, lightness 30%#990000rgb(153, 0, 0)hsl(0, 100%, 30%)
4Computed: hue 0, saturation 100%, lightness 35%#B20000rgb(178, 0, 0)hsl(0, 100%, 35%)
5Computed: hue 0, saturation 100%, lightness 40%#CC0000rgb(204, 0, 0)hsl(0, 100%, 40%)
6CSS named colour: darkred#8B0000rgb(139, 0, 0)hsl(0, 100%, 27%)
7CSS named colour: brown#A52A2Argb(165, 42, 42)hsl(0, 59%, 41%)
8CSS named colour: firebrick#B22222rgb(178, 34, 34)hsl(0, 68%, 42%)

Reference

Maroon contrast: strong on light pages, weak on dark ones

Under WCAG 2.1, body text needs 4.5:1, and large text plus UI parts need 3:1. Maroon passes on white. It fails on black.

White on #800000 is 10.95:1, so white lettering is safe. Black on maroon is 1.92:1, which is unreadable.

Maroon contrast: strong on light pages, weak on dark ones
ColourHEXOn whiteWhite text resultOn blackBlack text result
Maroon (main)#80000010.95:1Passes 4.5:11.92:1Fails 3:1
Ladder, lightness 15%#4C000016.06:1Passes 4.5:11.31:1Fails 3:1
Ladder, lightness 20%#66000013.42:1Passes 4.5:11.56:1Fails 3:1
Ladder, lightness 30%#9900008.92:1Passes 4.5:12.35:1Fails 3:1
Ladder, lightness 35%#B200007.26:1Passes 4.5:12.89:1Fails 3:1
Ladder, lightness 40%#CC00005.89:1Passes 4.5:13.57:1Large text and UI parts only (3:1)
Darkred#8B000010.01:1Passes 4.5:12.1:1Fails 3:1
Brown#A52A2A7.08:1Passes 4.5:12.96:1Fails 3:1
Firebrick#B222226.68:1Passes 4.5:13.14:1Large text and UI parts only (3:1)

Reference

Maroon text on a pale page

Maroon also works the other way round, as a text or heading colour on a light background. The ratios below were measured with #800000 as the text colour.

Maroon text on a pale page
BackgroundHEXMaroon text on itResult
White#FFFFFF10.95:1Passes 4.5:1
Beige#F5F5DC9.89:1Passes 4.5:1
Lavender#E6E6FA8.9:1Passes 4.5:1
Linen#FAF0E69.74:1Passes 4.5:1

Reference

Colours that go with maroon: four computed palettes

Each row turns #800000 around the HSL wheel and keeps saturation at 100% and lightness at 25%. All partners are equally dark, so lighten one for a background and check text contrast.

Colours that go with maroon: four computed palettes
SchemeHue rotationCodes
Complementary180 degrees#008080
Analogous+30 degrees, then -30 degrees#804000, #800040
Triadic+120 degrees, then +240 degrees#008000, #000080
Split-complementary+150 degrees, then +210 degrees#008040, #004080

Checklist

Where designers use maroon

  • University and team colours, where a deep red looks serious on a jersey or a banner.
  • Headings and links on cream or white pages.
  • Buttons that carry white labels.
  • Printed menus and invitations. Proof the colour first, because the CMYK numbers here are rough.

Step by step

Try it now: test your maroon or sample one from an image

  1. 1

    Open the HEX to RGB converter and type #800000, or any variant above. It reads 3 or 6 digit hex, rgb() and hsl(), has a colour picker and shows contrast on white and black.

  2. 2

    Open the colour palette from image tool and load a photo, for example a jersey or a brick wall. It finds 2 to 12 dominant colours and lets you click one pixel for an exact value. The photo stays on your device.

  3. 3

    Paste a sampled colour into the converter. If its red is near 128 and green and blue are near 0, it is close to maroon.

  • Limit: photo lighting changes colour, so a sample may not match the real object.

In depth

How this guide was made

The maroon code was read from the W3C CSS Color Module Level 4 list of named colours on 17 November 2026, as were the three CSS names in the variants table. All other numbers were computed from those codes by a Python script, including formats, contrast and palettes. The burgundy value is a working code, not a standard.

The text was drafted with AI assistance and reviewed before publishing.

In pictures

See it

Maroon colour swatch showing the hex code #800000 and rgb(128, 0, 0)
Maroon, #800000, as a flat swatch. The same colour is rgb(128, 0, 0) in RGB.
Nine colour tiles: maroon #800000 and the eight computed variants from the table, each labelled with its hex code and how it was computed
The main colour and the eight variants from the table above. Each tile carries its hex code and the method that produced it.
The EditXo HEX to RGB and HSL converter with #800000 typed in, showing its RGB and HSL values and its contrast on white and on black
The HEX to RGB and HSL converter with #800000 entered. It returns the other formats and the contrast against white and black.

FAQ

Frequently asked questions

Short answers to what people ask most about this topic.

All guides

What is the maroon color code?

The maroon color code is #800000, which is rgb(128, 0, 0) and hsl(0, 100%, 25%). It is the value of the CSS named colour maroon, a dark red.

Which hex value does maroon have?

The maroon color hex is #800000. Short form: maroon hex #800000. Sports and school guides sometimes use other maroons, so confirm the code before you match a brand.

How is maroon written in RGB?

Maroon is rgb(128, 0, 0). Red is 128 and green and blue are zero. On the 0 to 1 scale that is 0.502, 0.000, 0.000.

Is maroon the same as burgundy?

No. Maroon is #800000 and has a CSS name. Burgundy has no official code, and the usual working value, #800020, adds a little blue. See the burgundy hex code guide for its own values.

Is white lettering on maroon readable?

Yes. White on #800000 measures 10.95:1, far above the 4.5:1 minimum for normal text. Black on maroon is 1.92:1 and fails.

Is maroon a valid CSS color word?

Yes. color: maroon in CSS gives #800000. If you want a slightly different dark red, use a hex code instead.

Do it yourself

Tools used in this guide

Check the numbers

Sources and further reading

Ready to try it?

Use the free tool or the full photo editor. Everything stays on your device.

Open HEX to RGB converterOpen the photo editor