PreviewingGo to this paletteOpen in generator
Code
/* Miami Twilight — colorset.net */
:root {
--color-1: #FFF4F0;
--color-2: #E43F82;
--color-3: #19B5C4;
--color-4: #F5C6D3;
--color-5: #2A1638;
--color-bg: #FFF4F0;
--color-surface: #F6EBE7;
--color-border: #E0D1CC;
--color-text: #2A1638;
--color-muted: #73667E;
--color-primary: #D62F76;
--color-on-primary: #FFFFFF;
--color-accent: #00838F;
--color-on-accent: #FFFFFF;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #2A1638;
--color-surface: #352144;
--color-border: #483B51;
--color-text: #FFF4F0;
--color-muted: #9C928F;
--color-primary: #D62F76;
--color-on-primary: #FFFFFF;
--color-accent: #19B5C4;
--color-on-accent: #2A1638;
}
}
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 1 | from palette · color 5 |
| Surface | derived | derived |
| Border | derived | derived |
| Text | from palette · color 5 | from palette · color 1 |
| Muted text | derived | derived |
| Primary | adjusted for contrast · from #E43F82 | adjusted for contrast · from #E43F82 |
| On primary | derived | derived |
| Accent | adjusted for contrast · from #19B5C4 | from palette · color 3 |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 15.31:1 | AAA pass 4.5:1 | |
| Text on surface | 14.13:1 | AAA pass 4.5:1 | |
| Muted text on background | 4.95:1 | AA pass 4.5:1 | |
| Label on primary | 4.64:1 | AA pass 4.5:1 | |
| Label on accent | 4.52:1 | AA pass 4.5:1 | |
| Primary on background | 4.30:1 | AA Large pass 3:1 | |
| Accent on background | 4.19:1 | AA Large pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 15.31:1 | AAA pass 4.5:1 | |
| Text on surface | 13.39:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.45:1 | AA pass 4.5:1 | |
| Label on primary | 4.64:1 | AA pass 4.5:1 | |
| Label on accent | 6.65:1 | AA pass 4.5:1 | |
| Primary on background | 3.56:1 | AA Large pass 3:1 | |
| Accent on background | 6.65:1 | AA 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 | #FFF4F0 (Text 1) | #E43F82 (Text 2) | #19B5C4 (Text 3) | #F5C6D3 (Text 4) | #2A1638 (Text 5) |
|---|---|---|---|---|---|
| #FFF4F0 | Same color | 3.65AA Large | 2.30— | 1.40— | 15.31AAA |
| #E43F82 | 3.65AA Large | Same color | 1.58— | 2.61— | 4.20AA Large |
| #19B5C4 | 2.30— | 1.58— | Same color | 1.65— | 6.65AA |
| #F5C6D3 | 1.40— | 2.61— | 1.65— | Same color | 10.94AAA |
| #2A1638 | 15.31AAA | 4.20AA Large | 6.65AA | 10.94AAA | Same color |
Shades
Shades and tints (50–950)
