PreviewingGo to this paletteOpen in generator
Code
/* Sunset Fire — colorset.net */
:root {
--color-1: #003049;
--color-2: #D62828;
--color-3: #F77F00;
--color-4: #FCBF49;
--color-5: #EAE2B7;
--color-bg: #F9F7EA;
--color-surface: #F0EEE1;
--color-border: #D8D5C5;
--color-text: #003049;
--color-muted: #566F81;
--color-primary: #D62828;
--color-on-primary: #FFFFFF;
--color-accent: #9B6E00;
--color-on-accent: #FFFFFF;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #05111A;
--color-surface: #0D1B24;
--color-border: #1F303C;
--color-text: #E9E2BC;
--color-muted: #898368;
--color-primary: #D62828;
--color-on-primary: #FFFFFF;
--color-accent: #3F6A86;
--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 | adjusted for contrast · from #EAE2B7 | adjusted for contrast · from #003049 |
| Surface | derived | derived |
| Border | derived | derived |
| Text | from palette · color 1 | adjusted for contrast · from #EAE2B7 |
| Muted text | derived | derived |
| Primary | from palette · color 2 | from palette · color 2 |
| On primary | derived | derived |
| Accent | adjusted for contrast · from #D62828 | adjusted for contrast · from #003049 |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 12.85:1 | AAA pass 4.5:1 | |
| Text on surface | 11.86:1 | AAA pass 4.5:1 | |
| Muted text on background | 4.90:1 | AA pass 4.5:1 | |
| Label on primary | 5.01:1 | AA pass 4.5:1 | |
| Label on accent | 4.54:1 | AA pass 4.5:1 | |
| Primary on background | 4.66:1 | AA pass 3:1 | |
| Accent on background | 4.22:1 | AA Large pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 14.59:1 | AAA pass 4.5:1 | |
| Text on surface | 13.40:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.00:1 | AA pass 4.5:1 | |
| Label on primary | 5.01:1 | AA pass 4.5:1 | |
| Label on accent | 5.81:1 | AA pass 4.5:1 | |
| Primary on background | 3.81:1 | AA Large pass 3:1 | |
| Accent on background | 3.28: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 | #003049 (Text 1) | #D62828 (Text 2) | #F77F00 (Text 3) | #FCBF49 (Text 4) | #EAE2B7 (Text 5) |
|---|---|---|---|---|---|
| #003049 | Same color | 2.76— | 5.26AA | 8.35AAA | 10.57AAA |
| #D62828 | 2.76— | Same color | 1.91— | 3.03AA Large | 3.83AA Large |
| #F77F00 | 5.26AA | 1.91— | Same color | 1.59— | 2.01— |
| #FCBF49 | 8.35AAA | 3.03AA Large | 1.59— | Same color | 1.27— |
| #EAE2B7 | 10.57AAA | 3.83AA Large | 2.01— | 1.27— | Same color |
Shades
Shades and tints (50–950)
