PreviewingGo to this paletteOpen in generator
Code
/* Arcade Cabinet Glow — colorset.net */
:root {
--color-1: #070D1A;
--color-2: #FF2524;
--color-3: #2F75FF;
--color-4: #F4D900;
--color-5: #F4EEE0;
--color-bg: #F4EEE0;
--color-surface: #F9F5ED;
--color-border: #DDD5C4;
--color-text: #070D1A;
--color-muted: #586172;
--color-primary: #EA0011;
--color-on-primary: #FFFFFF;
--color-accent: #266BF4;
--color-on-accent: #FFFFFF;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #070D1A;
--color-surface: #101725;
--color-border: #232B3D;
--color-text: #F4EEE0;
--color-muted: #8B8579;
--color-primary: #EA0011;
--color-on-primary: #FFFFFF;
--color-accent: #266BF4;
--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 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 #FF2524 | adjusted for contrast · from #FF2524 |
| On primary | derived | derived |
| Accent | adjusted for contrast · from #2F75FF | adjusted for contrast · from #2F75FF |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 16.78:1 | AAA pass 4.5:1 | |
| Text on surface | 17.86:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.39:1 | AA pass 4.5:1 | |
| Label on primary | 4.66:1 | AA pass 4.5:1 | |
| Label on accent | 4.68:1 | AA pass 4.5:1 | |
| Primary on background | 4.03:1 | AA Large pass 3:1 | |
| Accent on background | 4.04:1 | AA Large pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 16.78:1 | AAA pass 4.5:1 | |
| Text on surface | 15.50:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.30:1 | AA pass 4.5:1 | |
| Label on primary | 4.66:1 | AA pass 4.5:1 | |
| Label on accent | 4.68:1 | AA pass 4.5:1 | |
| Primary on background | 4.17:1 | AA Large pass 3:1 | |
| Accent on background | 4.15: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 | #070D1A (Text 1) | #FF2524 (Text 2) | #2F75FF (Text 3) | #F4D900 (Text 4) | #F4EEE0 (Text 5) |
|---|---|---|---|---|---|
| #070D1A | Same color | 5.12AA | 4.72AA | 13.66AAA | 16.78AAA |
| #FF2524 | 5.12AA | Same color | 1.08— | 2.67— | 3.28AA Large |
| #2F75FF | 4.72AA | 1.08— | Same color | 2.89— | 3.55AA Large |
| #F4D900 | 13.66AAA | 2.67— | 2.89— | Same color | 1.23— |
| #F4EEE0 | 16.78AAA | 3.28AA Large | 3.55AA Large | 1.23— | Same color |
Shades
Shades and tints (50–950)
