PreviewingGo to this paletteOpen in generator
Code
/* Gingerbread — colorset.net */
:root {
--color-1: #FBF2E6;
--color-2: #B8632F;
--color-3: #3E7A6B;
--color-4: #F0D9BD;
--color-5: #2B1E16;
--color-bg: #FBF2E6;
--color-surface: #FFFAF3;
--color-border: #E4D9CA;
--color-text: #2B1E16;
--color-muted: #7B6B61;
--color-primary: #B15D28;
--color-on-primary: #FFFFFF;
--color-accent: #3E7A6B;
--color-on-accent: #FFFFFF;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #2B1E16;
--color-surface: #362921;
--color-border: #4F3E33;
--color-text: #FBF2E6;
--color-muted: #9A9287;
--color-primary: #B8632F;
--color-on-primary: #000000;
--color-accent: #448071;
--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 | adjusted for contrast · from #B8632F | from palette · color 2 |
| On primary | derived | derived |
| Accent | from palette · color 3 | adjusted for contrast · from #3E7A6B |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 14.57:1 | AAA pass 4.5:1 | |
| Text on surface | 15.55:1 | AAA pass 4.5:1 | |
| Muted text on background | 4.60:1 | AA pass 4.5:1 | |
| Label on primary | 4.70:1 | AA pass 4.5:1 | |
| Label on accent | 5.00:1 | AA pass 4.5:1 | |
| Primary on background | 4.24:1 | AA Large pass 3:1 | |
| Accent on background | 4.51:1 | AA pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 14.57:1 | AAA pass 4.5:1 | |
| Text on surface | 12.66:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.26:1 | AA pass 4.5:1 | |
| Label on primary | 4.86:1 | AA pass 4.5:1 | |
| Label on accent | 4.59:1 | AA pass 4.5:1 | |
| Primary on background | 3.74:1 | AA Large pass 3:1 | |
| Accent on background | 3.52: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 | #FBF2E6 (Text 1) | #B8632F (Text 2) | #3E7A6B (Text 3) | #F0D9BD (Text 4) | #2B1E16 (Text 5) |
|---|---|---|---|---|---|
| #FBF2E6 | Same color | 3.90AA Large | 4.51AA | 1.23— | 14.57AAA |
| #B8632F | 3.90AA Large | Same color | 1.16— | 3.16AA Large | 3.74AA Large |
| #3E7A6B | 4.51AA | 1.16— | Same color | 3.66AA Large | 3.23AA Large |
| #F0D9BD | 1.23— | 3.16AA Large | 3.66AA Large | Same color | 11.82AAA |
| #2B1E16 | 14.57AAA | 3.74AA Large | 3.23AA Large | 11.82AAA | Same color |
Shades
Shades and tints (50–950)
