PreviewingGo to this paletteOpen in generator
Code
/* Roadside Flare — colorset.net */
:root {
--color-1: #130807;
--color-2: #FD1913;
--color-3: #FB2B9A;
--color-4: #F2E309;
--color-5: #F7F2E3;
--color-bg: #F7F2E3;
--color-surface: #FCF9F0;
--color-border: #DFD9C7;
--color-text: #130807;
--color-muted: #6C5D5B;
--color-primary: #EB0003;
--color-on-primary: #FFFFFF;
--color-accent: #968C00;
--color-on-accent: #130807;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #130807;
--color-surface: #1E1210;
--color-border: #352422;
--color-text: #F7F2E3;
--color-muted: #8B8679;
--color-primary: #EB0003;
--color-on-primary: #FFFFFF;
--color-accent: #F2E309;
--color-on-accent: #130807;
}
}
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 5 | from palette · color 1 |
| Surface | derived | derived |
| Border | derived | derived |
| Text | from palette · color 1 | from palette · color 5 |
| Muted text | derived | derived |
| Primary | adjusted for contrast · from #FD1913 | adjusted for contrast · from #FD1913 |
| On primary | derived | derived |
| Accent | adjusted for contrast · from #FD1913 | from palette · color 4 |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 17.61:1 | AAA pass 4.5:1 | |
| Text on surface | 18.72:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.59:1 | AA pass 4.5:1 | |
| Label on primary | 4.63:1 | AA pass 4.5:1 | |
| Label on accent | 5.68:1 | AA pass 4.5:1 | |
| Primary on background | 4.14:1 | AA Large pass 3:1 | |
| Accent on background | 3.10:1 | AA Large pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 17.61:1 | AAA pass 4.5:1 | |
| Text on surface | 16.33:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.43:1 | AA pass 4.5:1 | |
| Label on primary | 4.63:1 | AA pass 4.5:1 | |
| Label on accent | 14.80:1 | AAA pass 4.5:1 | |
| Primary on background | 4.26:1 | AA Large pass 3:1 | |
| Accent on background | 14.80: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 | #130807 (Text 1) | #FD1913 (Text 2) | #FB2B9A (Text 3) | #F2E309 (Text 4) | #F7F2E3 (Text 5) |
|---|---|---|---|---|---|
| #130807 | Same color | 5.00AA | 5.55AA | 14.80AAA | 17.61AAA |
| #FD1913 | 5.00AA | Same color | 1.11— | 2.96— | 3.52AA Large |
| #FB2B9A | 5.55AA | 1.11— | Same color | 2.67— | 3.17AA Large |
| #F2E309 | 14.80AAA | 2.96— | 2.67— | Same color | 1.19— |
| #F7F2E3 | 17.61AAA | 3.52AA Large | 3.17AA Large | 1.19— | Same color |
Shades
Shades and tints (50–950)
