Burgundy hex code: #800020, with color code and contrast

The burgundy hex code is #800020, which is rgb(128, 0, 32). Burgundy has no official code, so this burgundy color code is the value most designers use. If a client only says burgundy, start here and adjust with the variants below.

Open HEX to RGB converterFree. Nothing uploaded.

Reference

Burgundy color code in every format

Copy the row your software asks for. A script computed each value from #800020, so the formats match. CMYK is a basic conversion from RGB, not a print profile.

Burgundy color code in every format
FormatValue
HEX#800020
RGBrgb(128, 0, 32)
HSLhsl(345, 100%, 25%)
HSV (hue, saturation, value)345, 100%, 50%
CMYK (simple conversion)0%, 100%, 75%, 50%
CSS keywordnone (not a CSS name)
Contrast against white10.83:1
Contrast against black1.94:1

In depth

Burgundy RGB: rgb(128, 0, 32)

Burgundy in RGB is red 128, green 0 and blue 32. Red is the main part, and the 32 of blue pulls the hue to 345 degrees, a little past pure red toward magenta. That small amount of blue is what makes it feel like wine instead of brick.

As fractions from 0 to 1, burgundy is 0.502, 0.000, 0.125.

Reference

Copy-ready CSS lines for burgundy

Burgundy is not a CSS keyword, so there is no color: burgundy line. These four work.

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

In depth

There is no official burgundy code

Many colour names have a formal web definition, and writing the name in a stylesheet gives you the colour. Burgundy is not on the W3C CSS Color Module Level 4 list, which we read on 17 November 2026. So color: burgundy does nothing.

The code #800020 is common, and it is the one used on this page. Paint makers and swatch sites choose other burgundies, some browner and some more purple. If your brand guide gives a code, use that. If it only says burgundy, #800020 is a safe default you can tune with the table below.

In depth

Burgundy or maroon? How they differ in the code

The CSS word maroon is #800000. Burgundy at #800020 adds 32 steps of blue. Their hues are 0 and 345 degrees. Their brightness is almost identical, since white contrast is 10.95:1 for maroon and 10.83:1 for burgundy.

So if you must pick one, choose by feel. Burgundy is a touch cooler and more wine-like. Maroon is a plain dark red.

Reference

Eight burgundy variants with their hex codes

All eight codes are computed from #800020 and keep hue 345. The first four mute the colour by lowering saturation while lightness stays at 25%. The last four keep full saturation and move the lightness. None of the labels is an official colour name. The HSL column is read back from the rounded hex.

Eight burgundy variants with their hex codes
VariantMethodHEXRGBHSL
1Computed: hue 345, saturation 80%, lightness 25%#730D26rgb(115, 13, 38)hsl(345, 80%, 25%)
2Computed: hue 345, saturation 60%, lightness 25%#66192Drgb(102, 25, 45)hsl(344, 61%, 25%)
3Computed: hue 345, saturation 40%, lightness 25%#592633rgb(89, 38, 51)hsl(345, 40%, 25%)
4Computed: hue 345, saturation 20%, lightness 25%#4C3339rgb(76, 51, 57)hsl(346, 20%, 25%)
5Computed: hue 345, saturation 100%, lightness 15%#4C0013rgb(76, 0, 19)hsl(345, 100%, 15%)
6Computed: hue 345, saturation 100%, lightness 20%#660019rgb(102, 0, 25)hsl(345, 100%, 20%)
7Computed: hue 345, saturation 100%, lightness 32%#A30029rgb(163, 0, 41)hsl(345, 100%, 32%)
8Computed: hue 345, saturation 100%, lightness 40%#CC0033rgb(204, 0, 51)hsl(345, 100%, 40%)

Reference

Contrast: burgundy against white and black

Two WCAG 2.1 lines matter here: 4.5:1 for everyday text, and 3:1 for big text, outlines and icons.

White on #800020 scores 10.83:1, so white labels on a burgundy button are safe. Black on burgundy scores 1.94:1 and fails. Never set dark text on this colour. The lightest variant, #CC0033, still gives 5.81:1 with white.

Contrast: burgundy against white and black
ColourHEXOn whiteWhite text resultOn blackBlack text result
Burgundy (main)#80002010.83:1Passes 4.5:11.94:1Fails 3:1
sat. 80%, light. 25%#730D2611.57:1Passes 4.5:11.81:1Fails 3:1
sat. 60%, light. 25%#66192D12.06:1Passes 4.5:11.74:1Fails 3:1
sat. 40%, light. 25%#59263312.0:1Passes 4.5:11.75:1Fails 3:1
sat. 20%, light. 25%#4C333911.41:1Passes 4.5:11.84:1Fails 3:1
sat. 100%, light. 15%#4C001315.95:1Passes 4.5:11.32:1Fails 3:1
sat. 100%, light. 20%#66001913.3:1Passes 4.5:11.58:1Fails 3:1
sat. 100%, light. 32%#A300298.11:1Passes 4.5:12.59:1Fails 3:1
sat. 100%, light. 40%#CC00335.81:1Passes 4.5:13.62:1Large text and UI parts only (3:1)

Reference

Burgundy on pale backgrounds

Burgundy is also a good text and heading colour on light pages. The table measures #800020 as the text colour on five pale backgrounds. All of them pass the 4.5:1 line with room to spare.

Burgundy on pale backgrounds
BackgroundHEXBurgundy text on itResult
White#FFFFFF10.83:1Passes 4.5:1
Beige#F5F5DC9.79:1Passes 4.5:1
Lavender#E6E6FA8.8:1Passes 4.5:1
Linen#FAF0E69.63:1Passes 4.5:1
Cornsilk#FFF8DC10.17:1Passes 4.5:1

Reference

Palettes computed from #800020

These schemes turn the hue of #800020 around the HSL wheel. Saturation stays 100% and lightness 25%, so each partner is as dark as burgundy.

  • Analogous codes give a warm, close family. A dark rust red (#802000) and a dark magenta (#800060) sit on either side.
  • Complementary gives a deep green. Use it as a small accent, not a large area.
  • For a pale partner, take beige or lavender from the table above and put burgundy text on it.
Palettes computed from #800020
SchemeHue rotationCodes
Complementary180 degrees#008060
Analogous+30 degrees, then -30 degrees#802000, #800060
Triadic+120 degrees, then +240 degrees#208000, #002080
Split-complementary+150 degrees, then +210 degrees#008020, #006080

Checklist

Where designers use burgundy

  • Wine labels, menus and restaurant branding.
  • Buttons and banners with white text.
  • Autumn and winter fashion and home palettes.
  • Wedding stationery on cream paper. Proof the print, because the CMYK numbers here are only a guide.

Step by step

Try it now: convert it and sample it from your own images

  1. 1

    Open the HEX to RGB converter and type #800020. You can use hex, rgb() or hsl(), or the colour picker. It shows contrast on white and black.

  2. 2

    Open the colour palette from image tool and add a photo of a wine label, a scarf or a flower. It finds 2 to 12 dominant colours with a median-cut method, and you can click one pixel for an exact colour. The image stays on your device.

  3. 3

    Copy the colours as CSS variables, then check each burgundy-like result in the converter against white and black.

  • Limit: lighting and screens change how a photographed burgundy looks, so match to a physical swatch for print.

In depth

How this guide was made

We read the W3C CSS Color Module Level 4 list of named colours on 17 November 2026 and found no burgundy, so #800020 is a working value, not a standard. Every other number on this page was computed from it by a Python script: the formats, the eight variants, the contrast ratios and the palettes.

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

In pictures

See it

Burgundy colour swatch showing the hex code #800020 and rgb(128, 0, 32)
Burgundy, #800020, as a flat swatch. The same colour is rgb(128, 0, 32) in RGB.
Nine colour tiles: burgundy #800020 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 #800020 typed in, showing its RGB and HSL values and its contrast on white and on black
The HEX to RGB and HSL converter with #800020 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 burgundy color code?

The burgundy color code most designers use is #800020, which is rgb(128, 0, 32) and hsl(345, 100%, 25%). There is no official code, so another source may give a slightly different shade.

What is the hex code for burgundy?

The burgundy color hex code is #800020. Short form: burgundy hex #800020. It is a working value, not a W3C standard.

What is burgundy in RGB?

Burgundy is rgb(128, 0, 32) in RGB: red 128, green 0, blue 32. The same colour in CMYK, by simple conversion, is 0%, 100%, 75%, 50%.

Is burgundy a CSS color name?

No. CSS has a fixed list of named colours and burgundy is not on it. Writing color: burgundy has no effect, so use #800020 or another hex code.

Can I use white text on burgundy?

Yes. White on #800020 measures 10.83:1, far above the 4.5:1 minimum. Black text on burgundy is 1.94:1 and fails.

Is burgundy the same as maroon?

Not quite. Maroon is #800000 and is a CSS name. Burgundy, at #800020, adds a little blue and has no official code. See the maroon hex code guide for its values.

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