PreviewingGo to this paletteOpen in generator
Code
/* Magnolia White — colorset.net */
:root {
--color-1: #F4EFE8;
--color-2: #F7F3ED;
--color-3: #FAF7F2;
--color-4: #FDFBF7;
--color-5: #FFFFFC;
--color-bg: #FFFFFC;
--color-surface: #F6F6F3;
--color-border: #DDDDD7;
--color-text: #57534D;
--color-muted: #74706A;
--color-primary: #918D86;
--color-on-primary: #000000;
--color-accent: #5F5C56;
--color-on-accent: #FFFFFF;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #100F0D;
--color-surface: #1B1917;
--color-border: #302D29;
--color-text: #FFFFFC;
--color-muted: #90908D;
--color-primary: #F4EFE8;
--color-on-primary: #100F0D;
--color-accent: #BCB8B2;
--color-on-accent: #100F0D;
}
}
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 | adjusted for contrast · from #F4EFE8 |
| Surface | derived | derived |
| Border | derived | derived |
| Text | adjusted for contrast · from #F4EFE8 | from palette · color 5 |
| Muted text | derived | derived |
| Primary | adjusted for contrast · from #F4EFE8 | from palette · color 1 |
| On primary | derived | derived |
| Accent | adjusted for contrast · from #F4EFE8 | adjusted for contrast · from #F4EFE8 |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 7.62:1 | AAA pass 4.5:1 | |
| Text on surface | 7.05:1 | AAA pass 4.5:1 | |
| Muted text on background | 4.91:1 | AA pass 4.5:1 | |
| Label on primary | 6.36:1 | AA pass 4.5:1 | |
| Label on accent | 6.66:1 | AA pass 4.5:1 | |
| Primary on background | 3.30:1 | AA Large pass 3:1 | |
| Accent on background | 6.65:1 | AA pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 19.12:1 | AAA pass 4.5:1 | |
| Text on surface | 17.50:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.98:1 | AA pass 4.5:1 | |
| Label on primary | 16.75:1 | AAA pass 4.5:1 | |
| Label on accent | 9.70:1 | AAA pass 4.5:1 | |
| Primary on background | 16.75:1 | AAA pass 3:1 | |
| Accent on background | 9.70: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 | #F4EFE8 (Text 1) | #F7F3ED (Text 2) | #FAF7F2 (Text 3) | #FDFBF7 (Text 4) | #FFFFFC (Text 5) |
|---|---|---|---|---|---|
| #F4EFE8 | Same color | 1.03— | 1.07— | 1.11— | 1.14— |
| #F7F3ED | 1.03— | Same color | 1.03— | 1.07— | 1.10— |
| #FAF7F2 | 1.07— | 1.03— | Same color | 1.03— | 1.07— |
| #FDFBF7 | 1.11— | 1.07— | 1.03— | Same color | 1.03— |
| #FFFFFC | 1.14— | 1.10— | 1.07— | 1.03— | Same color |
Shades
Shades and tints (50–950)
