PreviewingGo to this paletteOpen in generator
Code
/* Tokyo Signage — colorset.net */
:root {
--color-1: #0D0A1D;
--color-2: #F92DA2;
--color-3: #27EAEA;
--color-4: #8FF742;
--color-5: #F0ECFA;
--color-bg: #F0ECFA;
--color-surface: #F7F4FD;
--color-border: #D8D3E4;
--color-text: #0D0A1D;
--color-muted: #605E76;
--color-primary: #E2008F;
--color-on-primary: #FFFFFF;
--color-accent: #438500;
--color-on-accent: #FFFFFF;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #0D0A1D;
--color-surface: #171428;
--color-border: #2B283E;
--color-text: #F0ECFA;
--color-muted: #878390;
--color-primary: #E2008F;
--color-on-primary: #FFFFFF;
--color-accent: #8FF742;
--color-on-accent: #0D0A1D;
}
}
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 #F92DA2 | adjusted for contrast · from #F92DA2 |
| On primary | derived | derived |
| Accent | adjusted for contrast · from #27EAEA | from palette · color 4 |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 16.77:1 | AAA pass 4.5:1 | |
| Text on surface | 17.91:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.38:1 | AA pass 4.5:1 | |
| Label on primary | 4.54:1 | AA pass 4.5:1 | |
| Label on accent | 4.57:1 | AA pass 4.5:1 | |
| Primary on background | 3.91:1 | AA Large pass 3:1 | |
| Accent on background | 3.94:1 | AA Large pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 16.77:1 | AAA pass 4.5:1 | |
| Text on surface | 15.49:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.27:1 | AA pass 4.5:1 | |
| Label on primary | 4.54:1 | AA pass 4.5:1 | |
| Label on accent | 14.42:1 | AAA pass 4.5:1 | |
| Primary on background | 4.29:1 | AA Large pass 3:1 | |
| Accent on background | 14.42: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 | #0D0A1D (Text 1) | #F92DA2 (Text 2) | #27EAEA (Text 3) | #8FF742 (Text 4) | #F0ECFA (Text 5) |
|---|---|---|---|---|---|
| #0D0A1D | Same color | 5.49AA | 13.02AAA | 14.42AAA | 16.77AAA |
| #F92DA2 | 5.49AA | Same color | 2.37— | 2.62— | 3.05AA Large |
| #27EAEA | 13.02AAA | 2.37— | Same color | 1.11— | 1.29— |
| #8FF742 | 14.42AAA | 2.62— | 1.11— | Same color | 1.16— |
| #F0ECFA | 16.77AAA | 3.05AA Large | 1.29— | 1.16— | Same color |
Shades
Shades and tints (50–950)
