PreviewingGo to this paletteOpen in generator
Code
/* Twilight Mix — colorset.net */
:root {
--color-1: #FF7F50;
--color-2: #FF6347;
--color-3: #FFA07A;
--color-4: #00CED1;
--color-5: #20B2AA;
--color-bg: #FFF4F0;
--color-surface: #FAEAE3;
--color-border: #E4D0C8;
--color-text: #005752;
--color-muted: #4D706D;
--color-primary: #D73D22;
--color-on-primary: #FFFFFF;
--color-accent: #008385;
--color-on-accent: #FFFFFF;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #001312;
--color-surface: #021F1D;
--color-border: #123432;
--color-text: #D9B2A3;
--color-muted: #997C71;
--color-primary: #FF6347;
--color-on-primary: #001312;
--color-accent: #00CED1;
--color-on-accent: #001312;
}
}
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 #FFA07A | adjusted for contrast · from #20B2AA |
| Surface | derived | derived |
| Border | derived | derived |
| Text | adjusted for contrast · from #20B2AA | adjusted for contrast · from #FFA07A |
| Muted text | derived | derived |
| Primary | adjusted for contrast · from #FF6347 | from palette · color 2 |
| On primary | derived | derived |
| Accent | adjusted for contrast · from #20B2AA | from palette · color 4 |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 7.83:1 | AAA pass 4.5:1 | |
| Text on surface | 7.22:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.05:1 | AA pass 4.5:1 | |
| Label on primary | 4.59:1 | AA pass 4.5:1 | |
| Label on accent | 4.58:1 | AA pass 4.5:1 | |
| Primary on background | 4.25:1 | AA Large pass 3:1 | |
| Accent on background | 4.24:1 | AA Large pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 9.84:1 | AAA pass 4.5:1 | |
| Text on surface | 8.92:1 | AAA pass 4.5:1 | |
| Muted text on background | 4.97:1 | AA pass 4.5:1 | |
| Label on primary | 6.47:1 | AA pass 4.5:1 | |
| Label on accent | 9.76:1 | AAA pass 4.5:1 | |
| Primary on background | 6.47:1 | AA pass 3:1 | |
| Accent on background | 9.76: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 | #FF7F50 (Text 1) | #FF6347 (Text 2) | #FFA07A (Text 3) | #00CED1 (Text 4) | #20B2AA (Text 5) |
|---|---|---|---|---|---|
| #FF7F50 | Same color | 1.18— | 1.26— | 1.28— | 1.05— |
| #FF6347 | 1.18— | Same color | 1.48— | 1.51— | 1.12— |
| #FFA07A | 1.26— | 1.48— | Same color | 1.02— | 1.32— |
| #00CED1 | 1.28— | 1.51— | 1.02— | Same color | 1.34— |
| #20B2AA | 1.05— | 1.12— | 1.32— | 1.34— | Same color |
Shades
Shades and tints (50–950)
