PreviewingGo to this paletteOpen in generator
Code
/* Pumpkin Patch Dusk — colorset.net */
:root {
--color-1: #F6EBDD;
--color-2: #E8751A;
--color-3: #5B3A8C;
--color-4: #3A4A2E;
--color-5: #1C1420;
--color-bg: #F6EBDD;
--color-surface: #FAF3EB;
--color-border: #DFD2C1;
--color-text: #1C1420;
--color-muted: #6E6473;
--color-primary: #BA5900;
--color-on-primary: #FFFFFF;
--color-accent: #5B3A8C;
--color-on-accent: #FFFFFF;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #1C1420;
--color-surface: #271E2B;
--color-border: #3D3243;
--color-text: #F6EBDD;
--color-muted: #93897C;
--color-primary: #E8751A;
--color-on-primary: #1C1420;
--color-accent: #7D5DB2;
--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 #E8751A | from palette · color 2 |
| On primary | derived | derived |
| Accent | from palette · color 3 | adjusted for contrast · from #5B3A8C |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 15.25:1 | AAA pass 4.5:1 | |
| Text on surface | 16.31:1 | AAA pass 4.5:1 | |
| Muted text on background | 4.78:1 | AA pass 4.5:1 | |
| Label on primary | 4.65:1 | AA pass 4.5:1 | |
| Label on accent | 8.65:1 | AAA pass 4.5:1 | |
| Primary on background | 3.95:1 | AA Large pass 3:1 | |
| Accent on background | 7.35:1 | AAA pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 15.25:1 | AAA pass 4.5:1 | |
| Text on surface | 13.66:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.22:1 | AA pass 4.5:1 | |
| Label on primary | 5.97:1 | AA pass 4.5:1 | |
| Label on accent | 5.15:1 | AA pass 4.5:1 | |
| Primary on background | 5.97:1 | AA pass 3:1 | |
| Accent on background | 3.49: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 | #F6EBDD (Text 1) | #E8751A (Text 2) | #5B3A8C (Text 3) | #3A4A2E (Text 4) | #1C1420 (Text 5) |
|---|---|---|---|---|---|
| #F6EBDD | Same color | 2.55— | 7.35AAA | 8.12AAA | 15.25AAA |
| #E8751A | 2.55— | Same color | 2.88— | 3.18AA Large | 5.97AA |
| #5B3A8C | 7.35AAA | 2.88— | Same color | 1.10— | 2.08— |
| #3A4A2E | 8.12AAA | 3.18AA Large | 1.10— | Same color | 1.88— |
| #1C1420 | 15.25AAA | 5.97AA | 2.08— | 1.88— | Same color |
Shades
Shades and tints (50–950)
