PreviewingGo to this paletteOpen in generator
Code
/* Gingerbread House — colorset.net */
:root {
--color-1: #F6E8D5;
--color-2: #9A5B2E;
--color-3: #D43F3F;
--color-4: #5F8F6A;
--color-5: #3A2416;
--color-bg: #F6E8D5;
--color-surface: #F9F0E5;
--color-border: #DFCFB9;
--color-text: #3A2416;
--color-muted: #7C6253;
--color-primary: #D43F3F;
--color-on-primary: #FFFFFF;
--color-accent: #5F8F6A;
--color-on-accent: #000000;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #150D09;
--color-surface: #201712;
--color-border: #372B24;
--color-text: #F6E8D5;
--color-muted: #8F8371;
--color-primary: #D43F3F;
--color-on-primary: #FFFFFF;
--color-accent: #5F8F6A;
--color-on-accent: #150D09;
}
}
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 #3A2416 |
| Surface | derived | derived |
| Border | derived | derived |
| Text | from palette · color 5 | from palette · color 1 |
| Muted text | derived | derived |
| Primary | from palette · color 3 | from palette · color 3 |
| On primary | derived | derived |
| Accent | from palette · color 4 | from palette · color 4 |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 12.07:1 | AAA pass 4.5:1 | |
| Text on surface | 12.90:1 | AAA pass 4.5:1 | |
| Muted text on background | 4.67:1 | AA pass 4.5:1 | |
| Label on primary | 4.58:1 | AA pass 4.5:1 | |
| Label on accent | 5.62:1 | AA pass 4.5:1 | |
| Primary on background | 3.80:1 | AA Large pass 3:1 | |
| Accent on background | 3.10:1 | AA Large pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 15.93:1 | AAA pass 4.5:1 | |
| Text on surface | 14.61:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.17:1 | AA pass 4.5:1 | |
| Label on primary | 4.58:1 | AA pass 4.5:1 | |
| Label on accent | 5.14:1 | AA pass 4.5:1 | |
| Primary on background | 4.19:1 | AA Large pass 3:1 | |
| Accent on background | 5.14:1 | AA 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 | #F6E8D5 (Text 1) | #9A5B2E (Text 2) | #D43F3F (Text 3) | #5F8F6A (Text 4) | #3A2416 (Text 5) |
|---|---|---|---|---|---|
| #F6E8D5 | Same color | 4.46AA Large | 3.80AA Large | 3.10AA Large | 12.07AAA |
| #9A5B2E | 4.46AA Large | Same color | 1.17— | 1.44— | 2.71— |
| #D43F3F | 3.80AA Large | 1.17— | Same color | 1.23— | 3.17AA Large |
| #5F8F6A | 3.10AA Large | 1.44— | 1.23— | Same color | 3.89AA Large |
| #3A2416 | 12.07AAA | 2.71— | 3.17AA Large | 3.89AA Large | Same color |
Shades
Shades and tints (50–950)
