PreviewingGo to this paletteOpen in generator
Code
/* Mango Tango Bar — colorset.net */
:root {
--color-1: #FFF4E0;
--color-2: #FF9F1C;
--color-3: #E71D36;
--color-4: #2EC4B6;
--color-5: #2B1F2E;
--color-bg: #FFF4E0;
--color-surface: #FFFCF7;
--color-border: #E8DBC4;
--color-text: #2B1F2E;
--color-muted: #7A6B7D;
--color-primary: #E71D36;
--color-on-primary: #FFFFFF;
--color-accent: #009F93;
--color-on-accent: #2B1F2E;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #120E13;
--color-surface: #1C181D;
--color-border: #322B34;
--color-text: #FFF4E0;
--color-muted: #938977;
--color-primary: #E71D36;
--color-on-primary: #FFFFFF;
--color-accent: #2EC4B6;
--color-on-accent: #120E13;
}
}
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 | adjusted for contrast · from #2B1F2E |
| Surface | derived | derived |
| Border | derived | derived |
| Text | from palette · color 5 | from palette · color 1 |
| Muted text | derived | derived |
| Primary | from palette · color 3 | from palette · color 3 |
| On primary | derived | derived |
| Accent | adjusted for contrast · from #2EC4B6 | from palette · color 4 |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 14.40:1 | AAA pass 4.5:1 | |
| Text on surface | 15.33:1 | AAA pass 4.5:1 | |
| Muted text on background | 4.56:1 | AA pass 4.5:1 | |
| Label on primary | 4.54:1 | AA pass 4.5:1 | |
| Label on accent | 4.77:1 | AA pass 4.5:1 | |
| Primary on background | 4.16:1 | AA Large pass 3:1 | |
| Accent on background | 3.02:1 | AA Large pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 17.55:1 | AAA pass 4.5:1 | |
| Text on surface | 16.09:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.54:1 | AA pass 4.5:1 | |
| Label on primary | 4.54:1 | AA pass 4.5:1 | |
| Label on accent | 8.82:1 | AAA pass 4.5:1 | |
| Primary on background | 4.21:1 | AA Large pass 3:1 | |
| Accent on background | 8.82: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 | #FFF4E0 (Text 1) | #FF9F1C (Text 2) | #E71D36 (Text 3) | #2EC4B6 (Text 4) | #2B1F2E (Text 5) |
|---|---|---|---|---|---|
| #FFF4E0 | Same color | 1.88— | 4.16AA Large | 1.99— | 14.40AAA |
| #FF9F1C | 1.88— | Same color | 2.21— | 1.06— | 7.64AAA |
| #E71D36 | 4.16AA Large | 2.21— | Same color | 2.09— | 3.46AA Large |
| #2EC4B6 | 1.99— | 1.06— | 2.09— | Same color | 7.24AAA |
| #2B1F2E | 14.40AAA | 7.64AAA | 3.46AA Large | 7.24AAA | Same color |
Shades
Shades and tints (50–950)
