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.
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.
| Format | Value |
|---|---|
| HEX | #800020 |
| RGB | rgb(128, 0, 32) |
| HSL | hsl(345, 100%, 25%) |
| HSV (hue, saturation, value) | 345, 100%, 50% |
| CMYK (simple conversion) | 0%, 100%, 75%, 50% |
| CSS keyword | none (not a CSS name) |
| Contrast against white | 10.83:1 |
| Contrast against black | 1.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.
| Style | CSS line |
|---|---|
| Hex | color: #800020; |
| Hex as a background | background-color: #800020; |
| RGB | color: rgb(128, 0, 32); |
| HSL | color: 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.
| Variant | Method | HEX | RGB | HSL |
|---|---|---|---|---|
| 1 | Computed: hue 345, saturation 80%, lightness 25% | #730D26 | rgb(115, 13, 38) | hsl(345, 80%, 25%) |
| 2 | Computed: hue 345, saturation 60%, lightness 25% | #66192D | rgb(102, 25, 45) | hsl(344, 61%, 25%) |
| 3 | Computed: hue 345, saturation 40%, lightness 25% | #592633 | rgb(89, 38, 51) | hsl(345, 40%, 25%) |
| 4 | Computed: hue 345, saturation 20%, lightness 25% | #4C3339 | rgb(76, 51, 57) | hsl(346, 20%, 25%) |
| 5 | Computed: hue 345, saturation 100%, lightness 15% | #4C0013 | rgb(76, 0, 19) | hsl(345, 100%, 15%) |
| 6 | Computed: hue 345, saturation 100%, lightness 20% | #660019 | rgb(102, 0, 25) | hsl(345, 100%, 20%) |
| 7 | Computed: hue 345, saturation 100%, lightness 32% | #A30029 | rgb(163, 0, 41) | hsl(345, 100%, 32%) |
| 8 | Computed: hue 345, saturation 100%, lightness 40% | #CC0033 | rgb(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.
| Colour | HEX | On white | White text result | On black | Black text result |
|---|---|---|---|---|---|
| Burgundy (main) | #800020 | 10.83:1 | Passes 4.5:1 | 1.94:1 | Fails 3:1 |
| sat. 80%, light. 25% | #730D26 | 11.57:1 | Passes 4.5:1 | 1.81:1 | Fails 3:1 |
| sat. 60%, light. 25% | #66192D | 12.06:1 | Passes 4.5:1 | 1.74:1 | Fails 3:1 |
| sat. 40%, light. 25% | #592633 | 12.0:1 | Passes 4.5:1 | 1.75:1 | Fails 3:1 |
| sat. 20%, light. 25% | #4C3339 | 11.41:1 | Passes 4.5:1 | 1.84:1 | Fails 3:1 |
| sat. 100%, light. 15% | #4C0013 | 15.95:1 | Passes 4.5:1 | 1.32:1 | Fails 3:1 |
| sat. 100%, light. 20% | #660019 | 13.3:1 | Passes 4.5:1 | 1.58:1 | Fails 3:1 |
| sat. 100%, light. 32% | #A30029 | 8.11:1 | Passes 4.5:1 | 2.59:1 | Fails 3:1 |
| sat. 100%, light. 40% | #CC0033 | 5.81:1 | Passes 4.5:1 | 3.62:1 | Large 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.
| Background | HEX | Burgundy text on it | Result |
|---|---|---|---|
| White | #FFFFFF | 10.83:1 | Passes 4.5:1 |
| Beige | #F5F5DC | 9.79:1 | Passes 4.5:1 |
| Lavender | #E6E6FA | 8.8:1 | Passes 4.5:1 |
| Linen | #FAF0E6 | 9.63:1 | Passes 4.5:1 |
| Cornsilk | #FFF8DC | 10.17:1 | Passes 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.
| Scheme | Hue rotation | Codes |
|---|---|---|
| Complementary | 180 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
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
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
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

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.