PreviewingGo to this paletteOpen in generator
Code
/* Front Page — colorset.net */
:root {
--color-1: #F8F6F1;
--color-2: #1F3A5F;
--color-3: #B83A2E;
--color-4: #D9D2C3;
--color-5: #1B1C1E;
--color-bg: #F8F6F1;
--color-surface: #EFEDE8;
--color-border: #D7D4CC;
--color-text: #1B1C1E;
--color-muted: #6A6C6E;
--color-primary: #B83A2E;
--color-on-primary: #FFFFFF;
--color-accent: #1F3A5F;
--color-on-accent: #FFFFFF;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #1B1C1E;
--color-surface: #262729;
--color-border: #3A3C41;
--color-text: #F8F6F1;
--color-muted: #94928D;
--color-primary: #C6473A;
--color-on-primary: #FFFFFF;
--color-accent: #55729B;
--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 | from palette · color 3 | adjusted for contrast · from #B83A2E |
| On primary | derived | derived |
| Accent | from palette · color 2 | adjusted for contrast · from #1F3A5F |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 15.79:1 | AAA pass 4.5:1 | |
| Text on surface | 14.58:1 | AAA pass 4.5:1 | |
| Muted text on background | 4.88:1 | AA pass 4.5:1 | |
| Label on primary | 5.70:1 | AA pass 4.5:1 | |
| Label on accent | 11.48:1 | AAA pass 4.5:1 | |
| Primary on background | 5.28:1 | AA pass 3:1 | |
| Accent on background | 10.63:1 | AAA pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 15.79:1 | AAA pass 4.5:1 | |
| Text on surface | 13.84:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.49:1 | AA pass 4.5:1 | |
| Label on primary | 4.81:1 | AA pass 4.5:1 | |
| Label on accent | 4.92:1 | AA pass 4.5:1 | |
| Primary on background | 3.54:1 | AA Large pass 3:1 | |
| Accent on background | 3.46: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 | #F8F6F1 (Text 1) | #1F3A5F (Text 2) | #B83A2E (Text 3) | #D9D2C3 (Text 4) | #1B1C1E (Text 5) |
|---|---|---|---|---|---|
| #F8F6F1 | Same color | 10.63AAA | 5.28AA | 1.39— | 15.79AAA |
| #1F3A5F | 10.63AAA | Same color | 2.01— | 7.63AAA | 1.49— |
| #B83A2E | 5.28AA | 2.01— | Same color | 3.79AA Large | 2.99— |
| #D9D2C3 | 1.39— | 7.63AAA | 3.79AA Large | Same color | 11.33AAA |
| #1B1C1E | 15.79AAA | 1.49— | 2.99— | 11.33AAA | Same color |
Shades
Shades and tints (50–950)
