PreviewingGo to this paletteOpen in generator
Code
/* Poster Paint — colorset.net */
:root {
--color-1: #E31418;
--color-2: #3778F5;
--color-3: #EDC812;
--color-4: #00AD72;
--color-5: #1D2746;
--color-bg: #FBF7E8;
--color-surface: #F1EEDF;
--color-border: #DAD5C3;
--color-text: #1D2746;
--color-muted: #606981;
--color-primary: #E31418;
--color-on-primary: #FFFFFF;
--color-accent: #2E6EEB;
--color-on-accent: #FFFFFF;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #0B0F1A;
--color-surface: #151925;
--color-border: #282D3C;
--color-text: #D4CBA6;
--color-muted: #8A8368;
--color-primary: #E31418;
--color-on-primary: #FFFFFF;
--color-accent: #2E6EEB;
--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 #EDC812 | adjusted for contrast · from #1D2746 |
| Surface | derived | derived |
| Border | derived | derived |
| Text | from palette · color 5 | adjusted for contrast · from #EDC812 |
| Muted text | derived | derived |
| Primary | from palette · color 1 | from palette · color 1 |
| On primary | derived | derived |
| Accent | adjusted for contrast · from #3778F5 | adjusted for contrast · from #3778F5 |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 13.68:1 | AAA pass 4.5:1 | |
| Text on surface | 12.60:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.10:1 | AA pass 4.5:1 | |
| Label on primary | 4.80:1 | AA pass 4.5:1 | |
| Label on accent | 4.62:1 | AA pass 4.5:1 | |
| Primary on background | 4.47:1 | AA Large pass 3:1 | |
| Accent on background | 4.31:1 | AA Large pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 11.75:1 | AAA pass 4.5:1 | |
| Text on surface | 10.76:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.04:1 | AA pass 4.5:1 | |
| Label on primary | 4.80:1 | AA pass 4.5:1 | |
| Label on accent | 4.62:1 | AA pass 4.5:1 | |
| Primary on background | 3.99:1 | AA Large pass 3:1 | |
| Accent on background | 4.14: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 | #E31418 (Text 1) | #3778F5 (Text 2) | #EDC812 (Text 3) | #00AD72 (Text 4) | #1D2746 (Text 5) |
|---|---|---|---|---|---|
| #E31418 | Same color | 1.18— | 2.94— | 1.65— | 3.06AA Large |
| #3778F5 | 1.18— | Same color | 2.49— | 1.40— | 3.61AA Large |
| #EDC812 | 2.94— | 2.49— | Same color | 1.78— | 9.00AAA |
| #00AD72 | 1.65— | 1.40— | 1.78— | Same color | 5.05AA |
| #1D2746 | 3.06AA Large | 3.61AA Large | 9.00AAA | 5.05AA | Same color |
Shades
Shades and tints (50–950)
