PreviewingGo to this paletteOpen in generator
Code
/* Orange Sunset — colorset.net */
:root {
--color-1: #7C2D12;
--color-2: #DC2626;
--color-3: #F97316;
--color-4: #FACC15;
--color-5: #FDE047;
--color-bg: #FAF7E8;
--color-surface: #F1EEDF;
--color-border: #D9D5C3;
--color-text: #723623;
--color-muted: #80635A;
--color-primary: #DC2626;
--color-on-primary: #FFFFFF;
--color-accent: #887600;
--color-on-accent: #FFFFFF;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #1C0905;
--color-surface: #27130D;
--color-border: #3F271F;
--color-text: #E8E1BB;
--color-muted: #888367;
--color-primary: #DC2626;
--color-on-primary: #FFFFFF;
--color-accent: #FDE047;
--color-on-accent: #1C0905;
}
}
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 #FDE047 | adjusted for contrast · from #7C2D12 |
| Surface | derived | derived |
| Border | derived | derived |
| Text | adjusted for contrast · from #7C2D12 | adjusted for contrast · from #FDE047 |
| Muted text | derived | derived |
| Primary | from palette · color 2 | from palette · color 2 |
| On primary | derived | derived |
| Accent | adjusted for contrast · from #7C2D12 | from palette · color 5 |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 8.62:1 | AAA pass 4.5:1 | |
| Text on surface | 7.95:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.07:1 | AA pass 4.5:1 | |
| Label on primary | 4.83:1 | AA pass 4.5:1 | |
| Label on accent | 4.53:1 | AA pass 4.5:1 | |
| Primary on background | 4.49:1 | AA Large pass 3:1 | |
| Accent on background | 4.21:1 | AA Large pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 14.60:1 | AAA pass 4.5:1 | |
| Text on surface | 13.43:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.03:1 | AA pass 4.5:1 | |
| Label on primary | 4.83:1 | AA pass 4.5:1 | |
| Label on accent | 14.61:1 | AAA pass 4.5:1 | |
| Primary on background | 3.99:1 | AA Large pass 3:1 | |
| Accent on background | 14.61: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 | #7C2D12 (Text 1) | #DC2626 (Text 2) | #F97316 (Text 3) | #FACC15 (Text 4) | #FDE047 (Text 5) |
|---|---|---|---|---|---|
| #7C2D12 | Same color | 1.94— | 3.34AA Large | 6.12AA | 7.11AAA |
| #DC2626 | 1.94— | Same color | 1.72— | 3.15AA Large | 3.66AA Large |
| #F97316 | 3.34AA Large | 1.72— | Same color | 1.83— | 2.13— |
| #FACC15 | 6.12AA | 3.15AA Large | 1.83— | Same color | 1.16— |
| #FDE047 | 7.11AAA | 3.66AA Large | 2.13— | 1.16— | Same color |
Shades
Shades and tints (50–950)
