PreviewingGo to this paletteOpen in generator
Code
/* Midnight Counsel — colorset.net */
:root {
--color-1: #161514;
--color-2: #D9C3A0;
--color-3: #B5524B;
--color-4: #34302C;
--color-5: #F2EEE8;
--color-bg: #F2EEE8;
--color-surface: #F8F6F2;
--color-border: #DBD5CC;
--color-text: #161514;
--color-muted: #686765;
--color-primary: #B5524B;
--color-on-primary: #FFFFFF;
--color-accent: #9A8564;
--color-on-accent: #161514;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #161514;
--color-surface: #201F1E;
--color-border: #373430;
--color-text: #F2EEE8;
--color-muted: #8D8A84;
--color-primary: #B5524B;
--color-on-primary: #FFFFFF;
--color-accent: #D9C3A0;
--color-on-accent: #161514;
}
}
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 | from palette · color 3 | from palette · color 3 |
| On primary | derived | derived |
| Accent | adjusted for contrast · from #B5524B | from palette · color 2 |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 15.78:1 | AAA pass 4.5:1 | |
| Text on surface | 16.90:1 | AAA pass 4.5:1 | |
| Muted text on background | 4.89:1 | AA pass 4.5:1 | |
| Label on primary | 4.91:1 | AA pass 4.5:1 | |
| Label on accent | 5.14:1 | AA pass 4.5:1 | |
| Primary on background | 4.25:1 | AA Large pass 3:1 | |
| Accent on background | 3.07:1 | AA Large pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 15.78:1 | AAA pass 4.5:1 | |
| Text on surface | 14.24:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.30:1 | AA pass 4.5:1 | |
| Label on primary | 4.91:1 | AA pass 4.5:1 | |
| Label on accent | 10.65:1 | AAA pass 4.5:1 | |
| Primary on background | 3.71:1 | AA Large pass 3:1 | |
| Accent on background | 10.65: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 | #161514 (Text 1) | #D9C3A0 (Text 2) | #B5524B (Text 3) | #34302C (Text 4) | #F2EEE8 (Text 5) |
|---|---|---|---|---|---|
| #161514 | Same color | 10.65AAA | 3.71AA Large | 1.39— | 15.78AAA |
| #D9C3A0 | 10.65AAA | Same color | 2.87— | 7.64AAA | 1.48— |
| #B5524B | 3.71AA Large | 2.87— | Same color | 2.66— | 4.25AA Large |
| #34302C | 1.39— | 7.64AAA | 2.66— | Same color | 11.32AAA |
| #F2EEE8 | 15.78AAA | 1.48— | 4.25AA Large | 11.32AAA | Same color |
Shades
Shades and tints (50–950)
