PreviewingGo to this paletteOpen in generator
Code
/* Magnolia Branch — colorset.net */
:root {
--color-1: #FCF5F2;
--color-2: #C76F86;
--color-3: #7D8C5A;
--color-4: #F1DCD6;
--color-5: #2A2124;
--color-bg: #FCF5F2;
--color-surface: #F3ECE9;
--color-border: #DDD2CE;
--color-text: #2A2124;
--color-muted: #73686C;
--color-primary: #B05A71;
--color-on-primary: #FFFFFF;
--color-accent: #7D8C5A;
--color-on-accent: #000000;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #2A2124;
--color-surface: #352C2F;
--color-border: #4E4145;
--color-text: #FCF5F2;
--color-muted: #9B9592;
--color-primary: #C76F86;
--color-on-primary: #2A2124;
--color-accent: #7D8C5A;
--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 1 | from palette · color 5 |
| Surface | derived | derived |
| Border | derived | derived |
| Text | from palette · color 5 | from palette · color 1 |
| Muted text | derived | derived |
| Primary | adjusted for contrast · from #C76F86 | from palette · color 2 |
| On primary | derived | derived |
| Accent | from palette · color 3 | from palette · color 3 |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 14.52:1 | AAA pass 4.5:1 | |
| Text on surface | 13.41:1 | AAA pass 4.5:1 | |
| Muted text on background | 4.96:1 | AA pass 4.5:1 | |
| Label on primary | 4.62:1 | AA pass 4.5:1 | |
| Label on accent | 5.77:1 | AA pass 4.5:1 | |
| Primary on background | 4.28:1 | AA Large pass 3:1 | |
| Accent on background | 3.38:1 | AA Large pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 14.52:1 | AAA pass 4.5:1 | |
| Text on surface | 12.55:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.30:1 | AA pass 4.5:1 | |
| Label on primary | 4.51:1 | AA pass 4.5:1 | |
| Label on accent | 5.77:1 | AA pass 4.5:1 | |
| Primary on background | 4.51:1 | AA pass 3:1 | |
| Accent on background | 4.30:1 | AA Large 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 | #FCF5F2 (Text 1) | #C76F86 (Text 2) | #7D8C5A (Text 3) | #F1DCD6 (Text 4) | #2A2124 (Text 5) |
|---|---|---|---|---|---|
| #FCF5F2 | Same color | 3.22AA Large | 3.38AA Large | 1.22— | 14.52AAA |
| #C76F86 | 3.22AA Large | Same color | 1.05— | 2.64— | 4.51AA |
| #7D8C5A | 3.38AA Large | 1.05— | Same color | 2.76— | 4.30AA Large |
| #F1DCD6 | 1.22— | 2.64— | 2.76— | Same color | 11.89AAA |
| #2A2124 | 14.52AAA | 4.51AA | 4.30AA Large | 11.89AAA | Same color |
Shades
Shades and tints (50–950)
