PreviewingGo to this paletteOpen in generator
Code
/* Soda Fountain Menu — colorset.net */
:root {
--color-1: #F6EDDD;
--color-2: #D1495B;
--color-3: #3CA6A6;
--color-4: #F2C14E;
--color-5: #2F2B33;
--color-bg: #F6EDDD;
--color-surface: #FAF5EB;
--color-border: #DFD4C1;
--color-text: #2F2B33;
--color-muted: #6E6A73;
--color-primary: #CD4658;
--color-on-primary: #FFFFFF;
--color-accent: #008484;
--color-on-accent: #FFFFFF;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #100F11;
--color-surface: #1A191C;
--color-border: #2F2C32;
--color-text: #F6EDDD;
--color-muted: #8E8677;
--color-primary: #CD4658;
--color-on-primary: #FFFFFF;
--color-accent: #3CA6A6;
--color-on-accent: #100F11;
}
}
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 #2F2B33 |
| Surface | derived | derived |
| Border | derived | derived |
| Text | from palette · color 5 | from palette · color 1 |
| Muted text | derived | derived |
| Primary | adjusted for contrast · from #D1495B | adjusted for contrast · from #D1495B |
| On primary | derived | derived |
| Accent | adjusted for contrast · from #3CA6A6 | from palette · color 3 |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 11.94:1 | AAA pass 4.5:1 | |
| Text on surface | 12.76:1 | AAA pass 4.5:1 | |
| Muted text on background | 4.55:1 | AA pass 4.5:1 | |
| Label on primary | 4.55:1 | AA pass 4.5:1 | |
| Label on accent | 4.53:1 | AA pass 4.5:1 | |
| Primary on background | 3.92:1 | AA Large pass 3:1 | |
| Accent on background | 3.90:1 | AA Large pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 16.46:1 | AAA pass 4.5:1 | |
| Text on surface | 15.07:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.30:1 | AA pass 4.5:1 | |
| Label on primary | 4.55:1 | AA pass 4.5:1 | |
| Label on accent | 6.55:1 | AA pass 4.5:1 | |
| Primary on background | 4.20:1 | AA Large pass 3:1 | |
| Accent on background | 6.55: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 | #F6EDDD (Text 1) | #D1495B (Text 2) | #3CA6A6 (Text 3) | #F2C14E (Text 4) | #2F2B33 (Text 5) |
|---|---|---|---|---|---|
| #F6EDDD | Same color | 3.75AA Large | 2.51— | 1.44— | 11.94AAA |
| #D1495B | 3.75AA Large | Same color | 1.49— | 2.60— | 3.18AA Large |
| #3CA6A6 | 2.51— | 1.49— | Same color | 1.74— | 4.75AA |
| #F2C14E | 1.44— | 2.60— | 1.74— | Same color | 8.26AAA |
| #2F2B33 | 11.94AAA | 3.18AA Large | 4.75AA | 8.26AAA | Same color |
Shades
Shades and tints (50–950)
