PreviewingGo to this paletteOpen in generator
Code
/* Lacquer Chair — colorset.net */
:root {
--color-1: #F5F0E6;
--color-2: #B8342B;
--color-3: #2C4F6E;
--color-4: #D9C7A7;
--color-5: #1F1B18;
--color-bg: #F5F0E6;
--color-surface: #FBF7F1;
--color-border: #DED7CA;
--color-text: #1F1B18;
--color-muted: #706B68;
--color-primary: #B8342B;
--color-on-primary: #FFFFFF;
--color-accent: #2C4F6E;
--color-on-accent: #FFFFFF;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #1F1B18;
--color-surface: #2A2623;
--color-border: #423A35;
--color-text: #F5F0E6;
--color-muted: #938E85;
--color-primary: #C64237;
--color-on-primary: #FFFFFF;
--color-accent: #507495;
--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 | from palette · color 5 |
| Surface | derived | derived |
| Border | derived | derived |
| Text | from palette · color 5 | from palette · color 1 |
| Muted text | derived | derived |
| Primary | from palette · color 2 | adjusted for contrast · from #B8342B |
| On primary | derived | derived |
| Accent | from palette · color 3 | adjusted for contrast · from #2C4F6E |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 15.05:1 | AAA pass 4.5:1 | |
| Text on surface | 16.02:1 | AAA pass 4.5:1 | |
| Muted text on background | 4.63:1 | AA pass 4.5:1 | |
| Label on primary | 5.89:1 | AA pass 4.5:1 | |
| Label on accent | 8.57:1 | AAA pass 4.5:1 | |
| Primary on background | 5.19:1 | AA pass 3:1 | |
| Accent on background | 7.54:1 | AAA pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 15.05:1 | AAA pass 4.5:1 | |
| Text on surface | 13.21:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.25:1 | AA pass 4.5:1 | |
| Label on primary | 4.96:1 | AA pass 4.5:1 | |
| Label on accent | 4.91:1 | AA pass 4.5:1 | |
| Primary on background | 3.45:1 | AA Large pass 3:1 | |
| Accent on background | 3.48: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 | #F5F0E6 (Text 1) | #B8342B (Text 2) | #2C4F6E (Text 3) | #D9C7A7 (Text 4) | #1F1B18 (Text 5) |
|---|---|---|---|---|---|
| #F5F0E6 | Same color | 5.19AA | 7.54AAA | 1.46— | 15.05AAA |
| #B8342B | 5.19AA | Same color | 1.45— | 3.56AA Large | 2.90— |
| #2C4F6E | 7.54AAA | 1.45— | Same color | 5.17AA | 2.00— |
| #D9C7A7 | 1.46— | 3.56AA Large | 5.17AA | Same color | 10.32AAA |
| #1F1B18 | 15.05AAA | 2.90— | 2.00— | 10.32AAA | Same color |
Shades
Shades and tints (50–950)
