PreviewingGo to this paletteOpen in generator
Code
/* Tomato Table — colorset.net */
:root {
--color-1: #FBF4EA;
--color-2: #D02D27;
--color-3: #518046;
--color-4: #E88F87;
--color-5: #331414;
--color-bg: #FBF4EA;
--color-surface: #FFFCF7;
--color-border: #E4DBCE;
--color-text: #331414;
--color-muted: #866766;
--color-primary: #D02D27;
--color-on-primary: #FFFFFF;
--color-accent: #518046;
--color-on-accent: #FFFFFF;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #331414;
--color-surface: #3F1F1E;
--color-border: #533736;
--color-text: #FBF4EA;
--color-muted: #989289;
--color-primary: #D7352E;
--color-on-primary: #FFFFFF;
--color-accent: #518046;
--color-on-accent: #FFFFFF;
}
}
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 | from palette · color 2 | adjusted for contrast · from #D02D27 |
| On primary | derived | derived |
| Accent | from palette · color 3 | from palette · color 3 |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 15.37:1 | AAA pass 4.5:1 | |
| Text on surface | 16.40:1 | AAA pass 4.5:1 | |
| Muted text on background | 4.64:1 | AA pass 4.5:1 | |
| Label on primary | 5.14:1 | AA pass 4.5:1 | |
| Label on accent | 4.64:1 | AA pass 4.5:1 | |
| Primary on background | 4.71:1 | AA pass 3:1 | |
| Accent on background | 4.25:1 | AA Large pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 15.37:1 | AAA pass 4.5:1 | |
| Text on surface | 13.48:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.44:1 | AA pass 4.5:1 | |
| Label on primary | 4.73:1 | AA pass 4.5:1 | |
| Label on accent | 4.64:1 | AA pass 4.5:1 | |
| Primary on background | 3.55:1 | AA Large pass 3:1 | |
| Accent on background | 3.62:1 | AA Large 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 | #FBF4EA (Text 1) | #D02D27 (Text 2) | #518046 (Text 3) | #E88F87 (Text 4) | #331414 (Text 5) |
|---|---|---|---|---|---|
| #FBF4EA | Same color | 4.71AA | 4.25AA Large | 2.21— | 15.37AAA |
| #D02D27 | 4.71AA | Same color | 1.11— | 2.13— | 3.27AA Large |
| #518046 | 4.25AA Large | 1.11— | Same color | 1.92— | 3.62AA Large |
| #E88F87 | 2.21— | 2.13— | 1.92— | Same color | 6.96AA |
| #331414 | 15.37AAA | 3.27AA Large | 3.62AA Large | 6.96AA | Same color |
Shades
Shades and tints (50–950)
