PreviewingGo to this paletteOpen in generator
Code
/* Dessau Night — colorset.net */
:root {
--color-1: #17181B;
--color-2: #E8442E;
--color-3: #F0C419;
--color-4: #3A3B40;
--color-5: #F1EEE6;
--color-bg: #F1EEE6;
--color-surface: #F7F5F1;
--color-border: #DAD5CA;
--color-text: #17181B;
--color-muted: #67696D;
--color-primary: #DA351F;
--color-on-primary: #FFFFFF;
--color-accent: #8E7300;
--color-on-accent: #FFFFFF;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #17181B;
--color-surface: #212226;
--color-border: #35383E;
--color-text: #F1EEE6;
--color-muted: #8E8B84;
--color-primary: #DA351F;
--color-on-primary: #FFFFFF;
--color-accent: #F0C419;
--color-on-accent: #17181B;
}
}
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 | from palette · color 5 | from palette · color 1 |
| Surface | derived | derived |
| Border | derived | derived |
| Text | from palette · color 1 | from palette · color 5 |
| Muted text | derived | derived |
| Primary | adjusted for contrast · from #E8442E | adjusted for contrast · from #E8442E |
| On primary | derived | derived |
| Accent | adjusted for contrast · from #E8442E | from palette · color 3 |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 15.31:1 | AAA pass 4.5:1 | |
| Text on surface | 16.30:1 | AAA pass 4.5:1 | |
| Muted text on background | 4.74:1 | AA pass 4.5:1 | |
| Label on primary | 4.66:1 | AA pass 4.5:1 | |
| Label on accent | 4.56:1 | AA pass 4.5:1 | |
| Primary on background | 4.02:1 | AA Large pass 3:1 | |
| Accent on background | 3.94:1 | AA Large pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 15.31:1 | AAA pass 4.5:1 | |
| Text on surface | 13.71:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.22:1 | AA pass 4.5:1 | |
| Label on primary | 4.66:1 | AA pass 4.5:1 | |
| Label on accent | 10.66:1 | AAA pass 4.5:1 | |
| Primary on background | 3.81:1 | AA Large pass 3:1 | |
| Accent on background | 10.66:1 | AAA 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 | #17181B (Text 1) | #E8442E (Text 2) | #F0C419 (Text 3) | #3A3B40 (Text 4) | #F1EEE6 (Text 5) |
|---|---|---|---|---|---|
| #17181B | Same color | 4.48AA Large | 10.66AAA | 1.59— | 15.31AAA |
| #E8442E | 4.48AA Large | Same color | 2.38— | 2.82— | 3.42AA Large |
| #F0C419 | 10.66AAA | 2.38— | Same color | 6.71AA | 1.44— |
| #3A3B40 | 1.59— | 2.82— | 6.71AA | Same color | 9.64AAA |
| #F1EEE6 | 15.31AAA | 3.42AA Large | 1.44— | 9.64AAA | Same color |
Shades
Shades and tints (50–950)
