PreviewingGo to this paletteOpen in generator
Code
/* Twilight Pier — colorset.net */
:root {
--color-1: #1C1A33;
--color-2: #F7A35C;
--color-3: #E86A8E;
--color-4: #3A355E;
--color-5: #FBEFE6;
--color-bg: #FBEFE6;
--color-surface: #FFF7F2;
--color-border: #E5D6CA;
--color-text: #1C1A33;
--color-muted: #6C6B85;
--color-primary: #DD6185;
--color-on-primary: #1C1A33;
--color-accent: #3A355E;
--color-on-accent: #FFFFFF;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #1C1A33;
--color-surface: #27253F;
--color-border: #3C3B53;
--color-text: #FBEFE6;
--color-muted: #998E86;
--color-primary: #E86A8E;
--color-on-primary: #1C1A33;
--color-accent: #706F8E;
--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 #E86A8E | from palette · color 3 |
| On primary | derived | derived |
| Accent | from palette · color 4 | adjusted for contrast · from #3A355E |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 14.93:1 | AAA pass 4.5:1 | |
| Text on surface | 15.94:1 | AAA pass 4.5:1 | |
| Muted text on background | 4.56:1 | AA pass 4.5:1 | |
| Label on primary | 4.92:1 | AA pass 4.5:1 | |
| Label on accent | 11.35:1 | AAA pass 4.5:1 | |
| Primary on background | 3.04:1 | AA Large pass 3:1 | |
| Accent on background | 10.04:1 | AAA pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 14.93:1 | AAA pass 4.5:1 | |
| Text on surface | 13.07:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.28:1 | AA pass 4.5:1 | |
| Label on primary | 5.53:1 | AA pass 4.5:1 | |
| Label on accent | 4.82:1 | AA pass 4.5:1 | |
| Primary on background | 5.53:1 | AA pass 3:1 | |
| Accent on background | 3.50: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 | #1C1A33 (Text 1) | #F7A35C (Text 2) | #E86A8E (Text 3) | #3A355E (Text 4) | #FBEFE6 (Text 5) |
|---|---|---|---|---|---|
| #1C1A33 | Same color | 8.31AAA | 5.53AA | 1.49— | 14.93AAA |
| #F7A35C | 8.31AAA | Same color | 1.50— | 5.59AA | 1.80— |
| #E86A8E | 5.53AA | 1.50— | Same color | 3.72AA Large | 2.70— |
| #3A355E | 1.49— | 5.59AA | 3.72AA Large | Same color | 10.04AAA |
| #FBEFE6 | 14.93AAA | 1.80— | 2.70— | 10.04AAA | Same color |
Shades
Shades and tints (50–950)
