PreviewingGo to this paletteOpen in generator
Code
/* Shelter Light — colorset.net */
:root {
--color-1: #101826;
--color-2: #E86A92;
--color-3: #F6C667;
--color-4: #22304A;
--color-5: #EEF1F6;
--color-bg: #EEF1F6;
--color-surface: #F6F8FB;
--color-border: #D4D8E1;
--color-text: #101826;
--color-muted: #606A7C;
--color-primary: #DD6189;
--color-on-primary: #101826;
--color-accent: #AE8111;
--color-on-accent: #101826;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #101826;
--color-surface: #1A2331;
--color-border: #2D384A;
--color-text: #EEF1F6;
--color-muted: #8A8D92;
--color-primary: #E86A92;
--color-on-primary: #101826;
--color-accent: #F6C667;
--color-on-accent: #101826;
}
}
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 5 | from palette · color 1 |
| Surface | derived | derived |
| Border | derived | derived |
| Text | from palette · color 1 | from palette · color 5 |
| Muted text | derived | derived |
| Primary | adjusted for contrast · from #E86A92 | from palette · color 2 |
| On primary | derived | derived |
| Accent | adjusted for contrast · from #E86A92 | from palette · color 3 |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 15.71:1 | AAA pass 4.5:1 | |
| Text on surface | 16.72:1 | AAA pass 4.5:1 | |
| Muted text on background | 4.82:1 | AA pass 4.5:1 | |
| Label on primary | 5.21:1 | AA pass 4.5:1 | |
| Label on accent | 5.04:1 | AA pass 4.5:1 | |
| Primary on background | 3.02:1 | AA Large pass 3:1 | |
| Accent on background | 3.12:1 | AA Large pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 15.71:1 | AAA pass 4.5:1 | |
| Text on surface | 13.96:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.34:1 | AA pass 4.5:1 | |
| Label on primary | 5.85:1 | AA pass 4.5:1 | |
| Label on accent | 11.17:1 | AAA pass 4.5:1 | |
| Primary on background | 5.85:1 | AA pass 3:1 | |
| Accent on background | 11.17: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 | #101826 (Text 1) | #E86A92 (Text 2) | #F6C667 (Text 3) | #22304A (Text 4) | #EEF1F6 (Text 5) |
|---|---|---|---|---|---|
| #101826 | Same color | 5.85AA | 11.17AAA | 1.35— | 15.71AAA |
| #E86A92 | 5.85AA | Same color | 1.91— | 4.35AA Large | 2.69— |
| #F6C667 | 11.17AAA | 1.91— | Same color | 8.30AAA | 1.41— |
| #22304A | 1.35— | 4.35AA Large | 8.30AAA | Same color | 11.67AAA |
| #EEF1F6 | 15.71AAA | 2.69— | 1.41— | 11.67AAA | Same color |
Shades
Shades and tints (50–950)
