PreviewingGo to this paletteOpen in generator
Code
/* Gingham Picnic — colorset.net */
:root {
--color-1: #F8F3E8;
--color-2: #D9727E;
--color-3: #8FB3A0;
--color-4: #F0D58C;
--color-5: #4A4039;
--color-bg: #F8F3E8;
--color-surface: #FDFAF4;
--color-border: #E1DACC;
--color-text: #4A4039;
--color-muted: #766B63;
--color-primary: #D26C78;
--color-on-primary: #000000;
--color-accent: #A38941;
--color-on-accent: #000000;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #120F0C;
--color-surface: #1C1916;
--color-border: #332C28;
--color-text: #F8F3E8;
--color-muted: #8E897F;
--color-primary: #D9727E;
--color-on-primary: #120F0C;
--color-accent: #F0D58C;
--color-on-accent: #120F0C;
}
}
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 #4A4039 |
| Surface | derived | derived |
| Border | derived | derived |
| Text | from palette · color 5 | from palette · color 1 |
| Muted text | derived | derived |
| Primary | adjusted for contrast · from #D9727E | from palette · color 2 |
| On primary | derived | derived |
| Accent | adjusted for contrast · from #8FB3A0 | from palette · color 4 |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 9.11:1 | AAA pass 4.5:1 | |
| Text on surface | 9.67:1 | AAA pass 4.5:1 | |
| Muted text on background | 4.68:1 | AA pass 4.5:1 | |
| Label on primary | 6.16:1 | AA pass 4.5:1 | |
| Label on accent | 6.21:1 | AA pass 4.5:1 | |
| Primary on background | 3.08:1 | AA Large pass 3:1 | |
| Accent on background | 3.05:1 | AA Large pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 17.26:1 | AAA pass 4.5:1 | |
| Text on surface | 15.81:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.49:1 | AA pass 4.5:1 | |
| Label on primary | 6.06:1 | AA pass 4.5:1 | |
| Label on accent | 13.28:1 | AAA pass 4.5:1 | |
| Primary on background | 6.06:1 | AA pass 3:1 | |
| Accent on background | 13.28: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 | #F8F3E8 (Text 1) | #D9727E (Text 2) | #8FB3A0 (Text 3) | #F0D58C (Text 4) | #4A4039 (Text 5) |
|---|---|---|---|---|---|
| #F8F3E8 | Same color | 2.85— | 2.08— | 1.30— | 9.11AAA |
| #D9727E | 2.85— | Same color | 1.37— | 2.19— | 3.20AA Large |
| #8FB3A0 | 2.08— | 1.37— | Same color | 1.60— | 4.38AA Large |
| #F0D58C | 1.30— | 2.19— | 1.60— | Same color | 7.01AAA |
| #4A4039 | 9.11AAA | 3.20AA Large | 4.38AA Large | 7.01AAA | Same color |
Shades
Shades and tints (50–950)
