PreviewingGo to this paletteOpen in generator
Code
/* Dune Shadow — colorset.net */
:root {
--color-1: #F6EBDB;
--color-2: #B5783F;
--color-3: #5D5B8A;
--color-4: #E5D3B6;
--color-5: #2A2420;
--color-bg: #F6EBDB;
--color-surface: #FAF3E9;
--color-border: #DFD2BF;
--color-text: #2A2420;
--color-muted: #6F6863;
--color-primary: #A5692F;
--color-on-primary: #FFFFFF;
--color-accent: #5D5B8A;
--color-on-accent: #FFFFFF;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #110F0D;
--color-surface: #1B1917;
--color-border: #322D29;
--color-text: #F6EBDB;
--color-muted: #8E8476;
--color-primary: #A5692F;
--color-on-primary: #FFFFFF;
--color-accent: #636190;
--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 | from palette · color 1 | adjusted for contrast · from #2A2420 |
| Surface | derived | derived |
| Border | derived | derived |
| Text | from palette · color 5 | from palette · color 1 |
| Muted text | derived | derived |
| Primary | adjusted for contrast · from #B5783F | adjusted for contrast · from #B5783F |
| On primary | derived | derived |
| Accent | from palette · color 3 | adjusted for contrast · from #5D5B8A |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 13.00:1 | AAA pass 4.5:1 | |
| Text on surface | 13.90:1 | AAA pass 4.5:1 | |
| Muted text on background | 4.65:1 | AA pass 4.5:1 | |
| Label on primary | 4.50:1 | AA pass 4.5:1 | |
| Label on accent | 6.31:1 | AA pass 4.5:1 | |
| Primary on background | 3.82:1 | AA Large pass 3:1 | |
| Accent on background | 5.35:1 | AA pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 16.23:1 | AAA pass 4.5:1 | |
| Text on surface | 14.88:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.20:1 | AA pass 4.5:1 | |
| Label on primary | 4.50:1 | AA pass 4.5:1 | |
| Label on accent | 5.76:1 | AA pass 4.5:1 | |
| Primary on background | 4.25:1 | AA Large pass 3:1 | |
| Accent on background | 3.32: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 | #F6EBDB (Text 1) | #B5783F (Text 2) | #5D5B8A (Text 3) | #E5D3B6 (Text 4) | #2A2420 (Text 5) |
|---|---|---|---|---|---|
| #F6EBDB | Same color | 3.11AA Large | 5.35AA | 1.24— | 13.00AAA |
| #B5783F | 3.11AA Large | Same color | 1.72— | 2.50— | 4.17AA Large |
| #5D5B8A | 5.35AA | 1.72— | Same color | 4.30AA Large | 2.43— |
| #E5D3B6 | 1.24— | 2.50— | 4.30AA Large | Same color | 10.44AAA |
| #2A2420 | 13.00AAA | 4.17AA Large | 2.43— | 10.44AAA | Same color |
Shades
Shades and tints (50–950)
