PreviewingGo to this paletteOpen in generator
Code
/* Robin Egg — colorset.net */
:root {
--color-1: #F2F9FA;
--color-2: #3E9DB8;
--color-3: #E58A6F;
--color-4: #C9E6EC;
--color-5: #1C2C33;
--color-bg: #F2F9FA;
--color-surface: #E9F0F1;
--color-border: #CDD8DA;
--color-text: #1C2C33;
--color-muted: #5B6D75;
--color-primary: #CA7157;
--color-on-primary: #000000;
--color-accent: #18819C;
--color-on-accent: #FFFFFF;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #0B1013;
--color-surface: #151A1D;
--color-border: #262F34;
--color-text: #F2F9FA;
--color-muted: #878D8E;
--color-primary: #E58A6F;
--color-on-primary: #0B1013;
--color-accent: #3E9DB8;
--color-on-accent: #0B1013;
}
}
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 #1C2C33 |
| Surface | derived | derived |
| Border | derived | derived |
| Text | from palette · color 5 | from palette · color 1 |
| Muted text | derived | derived |
| Primary | adjusted for contrast · from #E58A6F | from palette · color 3 |
| On primary | derived | derived |
| Accent | adjusted for contrast · from #3E9DB8 | from palette · color 2 |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 13.52:1 | AAA pass 4.5:1 | |
| Text on surface | 12.49:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.07:1 | AA pass 4.5:1 | |
| Label on primary | 6.01:1 | AA pass 4.5:1 | |
| Label on accent | 4.51:1 | AA pass 4.5:1 | |
| Primary on background | 3.28:1 | AA Large pass 3:1 | |
| Accent on background | 4.23:1 | AA Large pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 17.95:1 | AAA pass 4.5:1 | |
| Text on surface | 16.46:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.68:1 | AA pass 4.5:1 | |
| Label on primary | 7.47:1 | AAA pass 4.5:1 | |
| Label on accent | 6.12:1 | AA pass 4.5:1 | |
| Primary on background | 7.47:1 | AAA pass 3:1 | |
| Accent on background | 6.12: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 | #F2F9FA (Text 1) | #3E9DB8 (Text 2) | #E58A6F (Text 3) | #C9E6EC (Text 4) | #1C2C33 (Text 5) |
|---|---|---|---|---|---|
| #F2F9FA | Same color | 2.93— | 2.40— | 1.23— | 13.52AAA |
| #3E9DB8 | 2.93— | Same color | 1.22— | 2.38— | 4.61AA |
| #E58A6F | 2.40— | 1.22— | Same color | 1.95— | 5.62AA |
| #C9E6EC | 1.23— | 2.38— | 1.95— | Same color | 10.99AAA |
| #1C2C33 | 13.52AAA | 4.61AA | 5.62AA | 10.99AAA | Same color |
Shades
Shades and tints (50–950)
