PreviewingGo to this paletteOpen in generator
Code
/* Fresh Colors — colorset.net */
:root {
--color-1: #E0115F;
--color-2: #FFFFFF;
--color-3: #228B22;
--color-4: #000000;
--color-5: #F0E68C;
--color-bg: #FFFFFF;
--color-surface: #F6F6F6;
--color-border: #E0DCDD;
--color-text: #000000;
--color-muted: #4D4D4D;
--color-primary: #E0115F;
--color-on-primary: #FFFFFF;
--color-accent: #1D881E;
--color-on-accent: #FFFFFF;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #000000;
--color-surface: #000000;
--color-border: #090707;
--color-text: #FFFFFF;
--color-muted: #7A7A7A;
--color-primary: #E0115F;
--color-on-primary: #FFFFFF;
--color-accent: #1D881E;
--color-on-accent: #000000;
}
}
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 2 | from palette · color 4 |
| Surface | derived | derived |
| Border | derived | derived |
| Text | from palette · color 4 | from palette · color 2 |
| Muted text | derived | derived |
| Primary | from palette · color 1 | from palette · color 1 |
| On primary | derived | derived |
| Accent | adjusted for contrast · from #228B22 | adjusted for contrast · from #228B22 |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 21.00:1 | AAA pass 4.5:1 | |
| Text on surface | 19.43:1 | AAA pass 4.5:1 | |
| Muted text on background | 8.45:1 | AAA pass 4.5:1 | |
| Label on primary | 4.76:1 | AA pass 4.5:1 | |
| Label on accent | 4.57:1 | AA pass 4.5:1 | |
| Primary on background | 4.76:1 | AA pass 3:1 | |
| Accent on background | 4.57:1 | AA pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 21.00:1 | AAA pass 4.5:1 | |
| Text on surface | 21.00:1 | AAA pass 4.5:1 | |
| Muted text on background | 4.89:1 | AA pass 4.5:1 | |
| Label on primary | 4.76:1 | AA pass 4.5:1 | |
| Label on accent | 4.59:1 | AA pass 4.5:1 | |
| Primary on background | 4.41:1 | AA Large pass 3:1 | |
| Accent on background | 4.59: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 | #E0115F (Text 1) | #FFFFFF (Text 2) | #228B22 (Text 3) | #000000 (Text 4) | #F0E68C (Text 5) |
|---|---|---|---|---|---|
| #E0115F | Same color | 4.76AA | 1.08— | 4.41AA Large | 3.72AA Large |
| #FFFFFF | 4.76AA | Same color | 4.39AA Large | 21.00AAA | 1.28— |
| #228B22 | 1.08— | 4.39AA Large | Same color | 4.78AA | 3.43AA Large |
| #000000 | 4.41AA Large | 21.00AAA | 4.78AA | Same color | 16.40AAA |
| #F0E68C | 3.72AA Large | 1.28— | 3.43AA Large | 16.40AAA | Same color |
Shades
Shades and tints (50–950)
