PreviewingGo to this paletteOpen in generator
Code
/* Tropical Punch — colorset.net */
:root {
--color-1: #1A1424;
--color-2: #FF5E7E;
--color-3: #FFB648;
--color-4: #3A2E44;
--color-5: #FFF0EE;
--color-bg: #FFF0EE;
--color-surface: #FFFAF9;
--color-border: #E9D6D4;
--color-text: #1A1424;
--color-muted: #6D677B;
--color-primary: #F05072;
--color-on-primary: #1A1424;
--color-accent: #BF7F00;
--color-on-accent: #1A1424;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #1A1424;
--color-surface: #251E2F;
--color-border: #3A3348;
--color-text: #FFF0EE;
--color-muted: #988B89;
--color-primary: #FF5E7E;
--color-on-primary: #1A1424;
--color-accent: #FFB648;
--color-on-accent: #1A1424;
}
}
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 #FF5E7E | from palette · color 2 |
| On primary | derived | derived |
| Accent | adjusted for contrast · from #FFB648 | from palette · color 3 |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 16.20:1 | AAA pass 4.5:1 | |
| Text on surface | 17.35:1 | AAA pass 4.5:1 | |
| Muted text on background | 4.89:1 | AA pass 4.5:1 | |
| Label on primary | 5.21:1 | AA pass 4.5:1 | |
| Label on accent | 5.35:1 | AA pass 4.5:1 | |
| Primary on background | 3.11:1 | AA Large pass 3:1 | |
| Accent on background | 3.03:1 | AA Large pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 16.20:1 | AAA pass 4.5:1 | |
| Text on surface | 14.52:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.46:1 | AA pass 4.5:1 | |
| Label on primary | 6.12:1 | AA pass 4.5:1 | |
| Label on accent | 10.29:1 | AAA pass 4.5:1 | |
| Primary on background | 6.12:1 | AA pass 3:1 | |
| Accent on background | 10.29: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 | #1A1424 (Text 1) | #FF5E7E (Text 2) | #FFB648 (Text 3) | #3A2E44 (Text 4) | #FFF0EE (Text 5) |
|---|---|---|---|---|---|
| #1A1424 | Same color | 6.12AA | 10.29AAA | 1.41— | 16.20AAA |
| #FF5E7E | 6.12AA | Same color | 1.68— | 4.33AA Large | 2.65— |
| #FFB648 | 10.29AAA | 1.68— | Same color | 7.28AAA | 1.57— |
| #3A2E44 | 1.41— | 4.33AA Large | 7.28AAA | Same color | 11.46AAA |
| #FFF0EE | 16.20AAA | 2.65— | 1.57— | 11.46AAA | Same color |
Shades
Shades and tints (50–950)
