PreviewingGo to this paletteOpen in generator
Code
/* Silver Birch — colorset.net */
:root {
--color-1: #F4F4F2;
--color-2: #5F7A8C;
--color-3: #B3546A;
--color-4: #DADDDE;
--color-5: #1F2428;
--color-bg: #F4F4F2;
--color-surface: #FBFBFA;
--color-border: #DCDCD6;
--color-text: #1F2428;
--color-muted: #686E73;
--color-primary: #B3546A;
--color-on-primary: #FFFFFF;
--color-accent: #5F7A8C;
--color-on-accent: #FFFFFF;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #1F2428;
--color-surface: #2A2F33;
--color-border: #3D454C;
--color-text: #F4F4F2;
--color-muted: #959593;
--color-primary: #BA5A70;
--color-on-primary: #000000;
--color-accent: #627D8F;
--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 | from palette · color 3 | adjusted for contrast · from #B3546A |
| On primary | derived | derived |
| Accent | from palette · color 2 | adjusted for contrast · from #5F7A8C |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 14.22:1 | AAA pass 4.5:1 | |
| Text on surface | 15.12:1 | AAA pass 4.5:1 | |
| Muted text on background | 4.69:1 | AA pass 4.5:1 | |
| Label on primary | 4.78:1 | AA pass 4.5:1 | |
| Label on accent | 4.52:1 | AA pass 4.5:1 | |
| Primary on background | 4.34:1 | AA Large pass 3:1 | |
| Accent on background | 4.10:1 | AA Large pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 14.22:1 | AAA pass 4.5:1 | |
| Text on surface | 12.28:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.22:1 | AA pass 4.5:1 | |
| Label on primary | 4.78:1 | AA pass 4.5:1 | |
| Label on accent | 4.85:1 | AA pass 4.5:1 | |
| Primary on background | 3.57:1 | AA Large pass 3:1 | |
| Accent on background | 3.62: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 | #F4F4F2 (Text 1) | #5F7A8C (Text 2) | #B3546A (Text 3) | #DADDDE (Text 4) | #1F2428 (Text 5) |
|---|---|---|---|---|---|
| #F4F4F2 | Same color | 4.10AA Large | 4.34AA Large | 1.24— | 14.22AAA |
| #5F7A8C | 4.10AA Large | Same color | 1.06— | 3.31AA Large | 3.47AA Large |
| #B3546A | 4.34AA Large | 1.06— | Same color | 3.50AA Large | 3.28AA Large |
| #DADDDE | 1.24— | 3.31AA Large | 3.50AA Large | Same color | 11.47AAA |
| #1F2428 | 14.22AAA | 3.47AA Large | 3.28AA Large | 11.47AAA | Same color |
Shades
Shades and tints (50–950)
