PreviewingGo to this paletteOpen in generator
Code
/* Egg Hunt — colorset.net */
:root {
--color-1: #FFF8F0;
--color-2: #EE8FB4;
--color-3: #6DB6DE;
--color-4: #FCE3B8;
--color-5: #2B2433;
--color-bg: #FFF8F0;
--color-surface: #F6EFE7;
--color-border: #DFD6CB;
--color-text: #2B2433;
--color-muted: #70687A;
--color-primary: #C96D92;
--color-on-primary: #000000;
--color-accent: #347EA4;
--color-on-accent: #FFFFFF;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #110E13;
--color-surface: #1B181E;
--color-border: #302C35;
--color-text: #FFF8F0;
--color-muted: #928B84;
--color-primary: #EE8FB4;
--color-on-primary: #110E13;
--color-accent: #6DB6DE;
--color-on-accent: #110E13;
}
}
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 #2B2433 |
| Surface | derived | derived |
| Border | derived | derived |
| Text | from palette · color 5 | from palette · color 1 |
| Muted text | derived | derived |
| Primary | adjusted for contrast · from #EE8FB4 | from palette · color 2 |
| On primary | derived | derived |
| Accent | adjusted for contrast · from #6DB6DE | from palette · color 3 |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 14.21:1 | AAA pass 4.5:1 | |
| Text on surface | 13.13:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.05:1 | AA pass 4.5:1 | |
| Label on primary | 6.09:1 | AA pass 4.5:1 | |
| Label on accent | 4.50:1 | AA pass 4.5:1 | |
| Primary on background | 3.28:1 | AA Large pass 3:1 | |
| Accent on background | 4.27:1 | AA Large pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 18.19:1 | AAA pass 4.5:1 | |
| Text on surface | 16.67:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.70:1 | AA pass 4.5:1 | |
| Label on primary | 8.42:1 | AAA pass 4.5:1 | |
| Label on accent | 8.57:1 | AAA pass 4.5:1 | |
| Primary on background | 8.42:1 | AAA pass 3:1 | |
| Accent on background | 8.57: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 | #FFF8F0 (Text 1) | #EE8FB4 (Text 2) | #6DB6DE (Text 3) | #FCE3B8 (Text 4) | #2B2433 (Text 5) |
|---|---|---|---|---|---|
| #FFF8F0 | Same color | 2.16— | 2.12— | 1.19— | 14.21AAA |
| #EE8FB4 | 2.16— | Same color | 1.02— | 1.82— | 6.57AA |
| #6DB6DE | 2.12— | 1.02— | Same color | 1.79— | 6.70AA |
| #FCE3B8 | 1.19— | 1.82— | 1.79— | Same color | 11.99AAA |
| #2B2433 | 14.21AAA | 6.57AA | 6.70AA | 11.99AAA | Same color |
Shades
Shades and tints (50–950)
