PreviewingGo to this paletteOpen in generator
Code
/* Black Tie — colorset.net */
:root {
--color-1: #16161A;
--color-2: #B08D57;
--color-3: #7A1F2B;
--color-4: #33333B;
--color-5: #EDE8DF;
--color-bg: #EDE8DF;
--color-surface: #F2EFEA;
--color-border: #D6CFC3;
--color-text: #16161A;
--color-muted: #65656A;
--color-primary: #7A1F2B;
--color-on-primary: #FFFFFF;
--color-accent: #916F39;
--color-on-accent: #FFFFFF;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #16161A;
--color-surface: #202025;
--color-border: #35353C;
--color-text: #EDE8DF;
--color-muted: #8C877F;
--color-primary: #AB4C53;
--color-on-primary: #FFFFFF;
--color-accent: #B08D57;
--color-on-accent: #16161A;
}
}
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 | adjusted for contrast · from #7A1F2B |
| On primary | derived | derived |
| Accent | adjusted for contrast · from #B08D57 | from palette · color 2 |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 14.79:1 | AAA pass 4.5:1 | |
| Text on surface | 15.73:1 | AAA pass 4.5:1 | |
| Muted text on background | 4.75:1 | AA pass 4.5:1 | |
| Label on primary | 10.20:1 | AAA pass 4.5:1 | |
| Label on accent | 4.63:1 | AA pass 4.5:1 | |
| Primary on background | 8.36:1 | AAA pass 3:1 | |
| Accent on background | 3.79:1 | AA Large pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 14.79:1 | AAA pass 4.5:1 | |
| Text on surface | 13.29:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.06:1 | AA pass 4.5:1 | |
| Label on primary | 5.40:1 | AA pass 4.5:1 | |
| Label on accent | 5.84:1 | AA pass 4.5:1 | |
| Primary on background | 3.34:1 | AA Large pass 3:1 | |
| Accent on background | 5.84:1 | AA 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 | #16161A (Text 1) | #B08D57 (Text 2) | #7A1F2B (Text 3) | #33333B (Text 4) | #EDE8DF (Text 5) |
|---|---|---|---|---|---|
| #16161A | Same color | 5.84AA | 1.77— | 1.44— | 14.79AAA |
| #B08D57 | 5.84AA | Same color | 3.30AA Large | 4.05AA Large | 2.53— |
| #7A1F2B | 1.77— | 3.30AA Large | Same color | 1.23— | 8.36AAA |
| #33333B | 1.44— | 4.05AA Large | 1.23— | Same color | 10.26AAA |
| #EDE8DF | 14.79AAA | 2.53— | 8.36AAA | 10.26AAA | Same color |
Shades
Shades and tints (50–950)
