PreviewingGo to this paletteOpen in generator
Code
/* Tropic Carnival — colorset.net */
:root {
--color-1: #2D1B69;
--color-2: #11998E;
--color-3: #38EF7D;
--color-4: #FFE66D;
--color-5: #FF6B6B;
--color-bg: #FAF7E8;
--color-surface: #F1EEDF;
--color-border: #D9D5C3;
--color-text: #2C2458;
--color-muted: #686780;
--color-primary: #E95759;
--color-on-primary: #000000;
--color-accent: #00883F;
--color-on-accent: #FFFFFF;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #0E0D1E;
--color-surface: #181729;
--color-border: #2C2B41;
--color-text: #EEE6C1;
--color-muted: #888367;
--color-primary: #FF6B6B;
--color-on-primary: #0E0D1E;
--color-accent: #38EF7D;
--color-on-accent: #0E0D1E;
}
}
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 #FFE66D | adjusted for contrast · from #2D1B69 |
| Surface | derived | derived |
| Border | derived | derived |
| Text | adjusted for contrast · from #2D1B69 | adjusted for contrast · from #FFE66D |
| Muted text | derived | derived |
| Primary | adjusted for contrast · from #FF6B6B | from palette · color 5 |
| On primary | derived | derived |
| Accent | adjusted for contrast · from #11998E | from palette · color 3 |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 13.02:1 | AAA pass 4.5:1 | |
| Text on surface | 12.02:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.09:1 | AA pass 4.5:1 | |
| Label on primary | 5.97:1 | AA pass 4.5:1 | |
| Label on accent | 4.57:1 | AA pass 4.5:1 | |
| Primary on background | 3.27:1 | AA Large pass 3:1 | |
| Accent on background | 4.25:1 | AA Large pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 15.27:1 | AAA pass 4.5:1 | |
| Text on surface | 14.01:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.01:1 | AA pass 4.5:1 | |
| Label on primary | 6.91:1 | AA pass 4.5:1 | |
| Label on accent | 12.61:1 | AAA pass 4.5:1 | |
| Primary on background | 6.91:1 | AA pass 3:1 | |
| Accent on background | 12.61: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 | #2D1B69 (Text 1) | #11998E (Text 2) | #38EF7D (Text 3) | #FFE66D (Text 4) | #FF6B6B (Text 5) |
|---|---|---|---|---|---|
| #2D1B69 | Same color | 4.06AA Large | 9.38AAA | 11.40AAA | 5.14AA |
| #11998E | 4.06AA Large | Same color | 2.31— | 2.81— | 1.27— |
| #38EF7D | 9.38AAA | 2.31— | Same color | 1.22— | 1.83— |
| #FFE66D | 11.40AAA | 2.81— | 1.22— | Same color | 2.22— |
| #FF6B6B | 5.14AA | 1.27— | 1.83— | 2.22— | Same color |
Shades
Shades and tints (50–950)
