PreviewingGo to this paletteOpen in generator
Code
/* Watermelon Crush — colorset.net */
:root {
--color-1: #F04162;
--color-2: #FD6C95;
--color-3: #3BBC4A;
--color-4: #AADE70;
--color-5: #033816;
--color-bg: #F2FAEC;
--color-surface: #E9F0E3;
--color-border: #CFD8C7;
--color-text: #033816;
--color-muted: #5A715E;
--color-primary: #DE2D54;
--color-on-primary: #FFFFFF;
--color-accent: #008A23;
--color-on-accent: #FFFFFF;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #051308;
--color-surface: #0E1E11;
--color-border: #203324;
--color-text: #C0D2B0;
--color-muted: #7B886F;
--color-primary: #DE2D54;
--color-on-primary: #FFFFFF;
--color-accent: #3BBC4A;
--color-on-accent: #051308;
}
}
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 #AADE70 | adjusted for contrast · from #033816 |
| Surface | derived | derived |
| Border | derived | derived |
| Text | from palette · color 5 | adjusted for contrast · from #AADE70 |
| Muted text | derived | derived |
| Primary | adjusted for contrast · from #F04162 | adjusted for contrast · from #F04162 |
| On primary | derived | derived |
| Accent | adjusted for contrast · from #3BBC4A | from palette · color 3 |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 12.43:1 | AAA pass 4.5:1 | |
| Text on surface | 11.41:1 | AAA pass 4.5:1 | |
| Muted text on background | 4.97:1 | AA pass 4.5:1 | |
| Label on primary | 4.56:1 | AA pass 4.5:1 | |
| Label on accent | 4.51:1 | AA pass 4.5:1 | |
| Primary on background | 4.27:1 | AA Large pass 3:1 | |
| Accent on background | 4.22:1 | AA Large pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 11.86:1 | AAA pass 4.5:1 | |
| Text on surface | 10.79:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.07:1 | AA pass 4.5:1 | |
| Label on primary | 4.56:1 | AA pass 4.5:1 | |
| Label on accent | 7.69:1 | AAA pass 4.5:1 | |
| Primary on background | 4.18:1 | AA Large pass 3:1 | |
| Accent on background | 7.69: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 | #F04162 (Text 1) | #FD6C95 (Text 2) | #3BBC4A (Text 3) | #AADE70 (Text 4) | #033816 (Text 5) |
|---|---|---|---|---|---|
| #F04162 | Same color | 1.38— | 1.50— | 2.38— | 3.57AA Large |
| #FD6C95 | 1.38— | Same color | 1.09— | 1.73— | 4.91AA |
| #3BBC4A | 1.50— | 1.09— | Same color | 1.58— | 5.36AA |
| #AADE70 | 2.38— | 1.73— | 1.58— | Same color | 8.47AAA |
| #033816 | 3.57AA Large | 4.91AA | 5.36AA | 8.47AAA | Same color |
Shades
Shades and tints (50–950)
