PreviewingGo to this paletteOpen in generator
Code
/* Burgundy Port — colorset.net */
:root {
--color-1: #3D0814;
--color-2: #5C0020;
--color-3: #800020;
--color-4: #A52A2A;
--color-5: #B22222;
--color-bg: #FFF4F2;
--color-surface: #FBE9E6;
--color-border: #E5CFCC;
--color-text: #3D0814;
--color-muted: #816265;
--color-primary: #B22222;
--color-on-primary: #FFFFFF;
--color-accent: #5C0020;
--color-on-accent: #FFFFFF;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #1B090B;
--color-surface: #261315;
--color-border: #3E2628;
--color-text: #C49B96;
--color-muted: #9B7B77;
--color-primary: #BD2E2B;
--color-on-primary: #FFFFFF;
--color-accent: #91555C;
--color-on-accent: #FFFFFF;
}
}
Color values
| Color | HEX | RGB | HSL | OKLCH |
|---|---|---|---|---|
| 1 | ||||
| 2 | ||||
| 3 | ||||
| 4 | ||||
| 5 |
Roles & contrast
Original colors are kept; roles are adjusted only when needed for contrast.
| Role | Light mode | Dark mode |
|---|---|---|
| Background | adjusted for contrast · from #B22222 | adjusted for contrast · from #3D0814 |
| Surface | derived | derived |
| Border | derived | derived |
| Text | from palette · color 1 | adjusted for contrast · from #B22222 |
| Muted text | derived | derived |
| Primary | from palette · color 5 | adjusted for contrast · from #B22222 |
| On primary | derived | derived |
| Accent | from palette · color 2 | adjusted for contrast · from #A52A2A |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 15.66:1 | AAA pass 4.5:1 | |
| Text on surface | 14.40:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.03:1 | AA pass 4.5:1 | |
| Label on primary | 6.68:1 | AA pass 4.5:1 | |
| Label on accent | 14.23:1 | AAA pass 4.5:1 | |
| Primary on background | 6.19:1 | AA pass 3:1 | |
| Accent on background | 13.19:1 | AAA pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 7.77:1 | AAA pass 4.5:1 | |
| Text on surface | 7.14:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.04:1 | AA pass 4.5:1 | |
| Label on primary | 5.85:1 | AA pass 4.5:1 | |
| Label on accent | 5.74:1 | AA pass 4.5:1 | |
| Primary on background | 3.29:1 | AA Large pass 3:1 | |
| Accent on background | 3.35:1 | AA Large pass 3:1 |
Every color on every color
Rows are backgrounds and columns are text colors, using the actual palette colors. Ratios: AAA 7:1, AA 4.5:1, AA large text 3:1.
| Background / Text | #3D0814 (Text 1) | #5C0020 (Text 2) | #800020 (Text 3) | #A52A2A (Text 4) | #B22222 (Text 5) |
|---|---|---|---|---|---|
| #3D0814 | Same color | 1.19— | 1.56— | 2.38— | 2.53— |
| #5C0020 | 1.19— | Same color | 1.31— | 2.01— | 2.13— |
| #800020 | 1.56— | 1.31— | Same color | 1.53— | 1.62— |
| #A52A2A | 2.38— | 2.01— | 1.53— | Same color | 1.06— |
| #B22222 | 2.53— | 2.13— | 1.62— | 1.06— | Same color |
Shades
Shades and tints (50–950)
