PreviewingGo to this paletteOpen in generator
Code
/* Powder Compact — colorset.net */
:root {
--color-1: #F5E9E2;
--color-2: #D4A5A0;
--color-3: #8FB0A9;
--color-4: #C8A15A;
--color-5: #4A3A3C;
--color-bg: #F5E9E2;
--color-surface: #F9F1ED;
--color-border: #DFD0C7;
--color-text: #4A3A3C;
--color-muted: #786668;
--color-primary: #957026;
--color-on-primary: #FFFFFF;
--color-accent: #A77A76;
--color-on-accent: #000000;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #130E0E;
--color-surface: #1D1818;
--color-border: #342B2C;
--color-text: #F5E9E2;
--color-muted: #8E837D;
--color-primary: #C8A15A;
--color-on-primary: #130E0E;
--color-accent: #D4A5A0;
--color-on-accent: #130E0E;
}
}
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 #4A3A3C |
| Surface | derived | derived |
| Border | derived | derived |
| Text | from palette · color 5 | from palette · color 1 |
| Muted text | derived | derived |
| Primary | adjusted for contrast · from #C8A15A | from palette · color 4 |
| On primary | derived | derived |
| Accent | adjusted for contrast · from #C8A15A | from palette · color 2 |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 8.99:1 | AAA pass 4.5:1 | |
| Text on surface | 9.60:1 | AAA pass 4.5:1 | |
| Muted text on background | 4.52:1 | AA pass 4.5:1 | |
| Label on primary | 4.54:1 | AA pass 4.5:1 | |
| Label on accent | 5.69:1 | AA pass 4.5:1 | |
| Primary on background | 3.81:1 | AA Large pass 3:1 | |
| Accent on background | 3.10:1 | AA Large pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 16.08:1 | AAA pass 4.5:1 | |
| Text on surface | 14.74:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.19:1 | AA pass 4.5:1 | |
| Label on primary | 7.93:1 | AAA pass 4.5:1 | |
| Label on accent | 8.83:1 | AAA pass 4.5:1 | |
| Primary on background | 7.93:1 | AAA pass 3:1 | |
| Accent on background | 8.83: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 | #F5E9E2 (Text 1) | #D4A5A0 (Text 2) | #8FB0A9 (Text 3) | #C8A15A (Text 4) | #4A3A3C (Text 5) |
|---|---|---|---|---|---|
| #F5E9E2 | Same color | 1.82— | 1.97— | 2.03— | 8.99AAA |
| #D4A5A0 | 1.82— | Same color | 1.08— | 1.11— | 4.94AA |
| #8FB0A9 | 1.97— | 1.08— | Same color | 1.03— | 4.56AA |
| #C8A15A | 2.03— | 1.11— | 1.03— | Same color | 4.44AA Large |
| #4A3A3C | 8.99AAA | 4.94AA | 4.56AA | 4.44AA Large | Same color |
Shades
Shades and tints (50–950)
