PreviewingGo to this paletteOpen in generator
Code
/* Single Stroke — colorset.net */
:root {
--color-1: #F4F4F2;
--color-2: #E4572E;
--color-3: #3B4F6B;
--color-4: #B9B7B0;
--color-5: #161616;
--color-bg: #F4F4F2;
--color-surface: #FBFBFA;
--color-border: #DCDCD6;
--color-text: #161616;
--color-muted: #696969;
--color-primary: #D2461A;
--color-on-primary: #FFFFFF;
--color-accent: #3B4F6B;
--color-on-accent: #FFFFFF;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #161616;
--color-surface: #202020;
--color-border: #383435;
--color-text: #F4F4F2;
--color-muted: #8E8E8C;
--color-primary: #D2461A;
--color-on-primary: #FFFFFF;
--color-accent: #596E8C;
--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 #E4572E | adjusted for contrast · from #E4572E |
| On primary | derived | derived |
| Accent | from palette · color 3 | adjusted for contrast · from #3B4F6B |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 16.43:1 | AAA pass 4.5:1 | |
| Text on surface | 17.48:1 | AAA pass 4.5:1 | |
| Muted text on background | 4.99:1 | AA pass 4.5:1 | |
| Label on primary | 4.53:1 | AA pass 4.5:1 | |
| Label on accent | 8.34:1 | AAA pass 4.5:1 | |
| Primary on background | 4.12:1 | AA Large pass 3:1 | |
| Accent on background | 7.58:1 | AAA pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 16.43:1 | AAA pass 4.5:1 | |
| Text on surface | 14.80:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.51:1 | AA pass 4.5:1 | |
| Label on primary | 4.53:1 | AA pass 4.5:1 | |
| Label on accent | 5.21:1 | AA pass 4.5:1 | |
| Primary on background | 3.99:1 | AA Large pass 3:1 | |
| Accent on background | 3.48: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 | #F4F4F2 (Text 1) | #E4572E (Text 2) | #3B4F6B (Text 3) | #B9B7B0 (Text 4) | #161616 (Text 5) |
|---|---|---|---|---|---|
| #F4F4F2 | Same color | 3.34AA Large | 7.58AAA | 1.82— | 16.43AAA |
| #E4572E | 3.34AA Large | Same color | 2.27— | 1.84— | 4.91AA |
| #3B4F6B | 7.58AAA | 2.27— | Same color | 4.16AA Large | 2.17— |
| #B9B7B0 | 1.82— | 1.84— | 4.16AA Large | Same color | 9.02AAA |
| #161616 | 16.43AAA | 4.91AA | 2.17— | 9.02AAA | Same color |
Shades
Shades and tints (50–950)
