PreviewingGo to this paletteOpen in generator
Code
/* Watermelon Wedge — colorset.net */
:root {
--color-1: #FED7D7;
--color-2: #FEB2B2;
--color-3: #FC8181;
--color-4: #F56565;
--color-5: #E53E3E;
--color-bg: #FFF4F4;
--color-surface: #F6EAEA;
--color-border: #E1D0D0;
--color-text: #7B3B36;
--color-muted: #826360;
--color-primary: #DA3235;
--color-on-primary: #FFFFFF;
--color-accent: #A38080;
--color-on-accent: #000000;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #1C0907;
--color-surface: #281311;
--color-border: #402623;
--color-text: #FED7D7;
--color-muted: #9A7A7A;
--color-primary: #DA3235;
--color-on-primary: #FFFFFF;
--color-accent: #FEB2B2;
--color-on-accent: #1C0907;
}
}
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 #FED7D7 | adjusted for contrast · from #E53E3E |
| Surface | derived | derived |
| Border | derived | derived |
| Text | adjusted for contrast · from #E53E3E | from palette · color 1 |
| Muted text | derived | derived |
| Primary | adjusted for contrast · from #E53E3E | adjusted for contrast · from #E53E3E |
| On primary | derived | derived |
| Accent | adjusted for contrast · from #F56565 | from palette · color 2 |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 7.73:1 | AAA pass 4.5:1 | |
| Text on surface | 7.09:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.00:1 | AA pass 4.5:1 | |
| Label on primary | 4.68:1 | AA pass 4.5:1 | |
| Label on accent | 5.96:1 | AA pass 4.5:1 | |
| Primary on background | 4.34:1 | AA Large pass 3:1 | |
| Accent on background | 3.27:1 | AA Large pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 14.58:1 | AAA pass 4.5:1 | |
| Text on surface | 13.36:1 | AAA pass 4.5:1 | |
| Muted text on background | 4.98:1 | AA pass 4.5:1 | |
| Label on primary | 4.68:1 | AA pass 4.5:1 | |
| Label on accent | 11.20:1 | AAA pass 4.5:1 | |
| Primary on background | 4.11:1 | AA Large pass 3:1 | |
| Accent on background | 11.20: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 | #FED7D7 (Text 1) | #FEB2B2 (Text 2) | #FC8181 (Text 3) | #F56565 (Text 4) | #E53E3E (Text 5) |
|---|---|---|---|---|---|
| #FED7D7 | Same color | 1.30— | 1.85— | 2.30— | 3.13AA Large |
| #FEB2B2 | 1.30— | Same color | 1.42— | 1.76— | 2.40— |
| #FC8181 | 1.85— | 1.42— | Same color | 1.24— | 1.69— |
| #F56565 | 2.30— | 1.76— | 1.24— | Same color | 1.36— |
| #E53E3E | 3.13AA Large | 2.40— | 1.69— | 1.36— | Same color |
Shades
Shades and tints (50–950)
