PreviewingGo to this paletteOpen in generator
Code
/* Old Brick — colorset.net */
:root {
--color-1: #5D2A1A;
--color-2: #7A3B2E;
--color-3: #984C3E;
--color-4: #B85C4F;
--color-5: #CD8B76;
--color-bg: #FFF4F1;
--color-surface: #FAE9E4;
--color-border: #E4D0C9;
--color-text: #5D2A1A;
--color-muted: #7F6259;
--color-primary: #B5594C;
--color-on-primary: #FFFFFF;
--color-accent: #7A3B2E;
--color-on-accent: #FFFFFF;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #1B0A06;
--color-surface: #26140F;
--color-border: #3E2720;
--color-text: #C49D90;
--color-muted: #9A7C73;
--color-primary: #B5594C;
--color-on-primary: #FFFFFF;
--color-accent: #915947;
--color-on-accent: #FFFFFF;
}
}
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 | adjusted for contrast · from #CD8B76 | adjusted for contrast · from #5D2A1A |
| Surface | derived | derived |
| Border | derived | derived |
| Text | from palette · color 1 | adjusted for contrast · from #CD8B76 |
| Muted text | derived | derived |
| Primary | adjusted for contrast · from #B85C4F | adjusted for contrast · from #B85C4F |
| On primary | derived | derived |
| Accent | from palette · color 2 | adjusted for contrast · from #984C3E |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 10.74:1 | AAA pass 4.5:1 | |
| Text on surface | 9.85:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.13:1 | AA pass 4.5:1 | |
| Label on primary | 4.67:1 | AA pass 4.5:1 | |
| Label on accent | 8.43:1 | AAA pass 4.5:1 | |
| Primary on background | 4.33:1 | AA Large pass 3:1 | |
| Accent on background | 7.81:1 | AAA pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 7.85:1 | AAA pass 4.5:1 | |
| Text on surface | 7.21:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.04:1 | AA pass 4.5:1 | |
| Label on primary | 4.67:1 | AA pass 4.5:1 | |
| Label on accent | 5.64:1 | AA pass 4.5:1 | |
| Primary on background | 4.12:1 | AA Large pass 3:1 | |
| Accent on background | 3.41: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 | #5D2A1A (Text 1) | #7A3B2E (Text 2) | #984C3E (Text 3) | #B85C4F (Text 4) | #CD8B76 (Text 5) |
|---|---|---|---|---|---|
| #5D2A1A | Same color | 1.38— | 1.90— | 2.58— | 4.17AA Large |
| #7A3B2E | 1.38— | Same color | 1.38— | 1.88— | 3.03AA Large |
| #984C3E | 1.90— | 1.38— | Same color | 1.36— | 2.20— |
| #B85C4F | 2.58— | 1.88— | 1.36— | Same color | 1.61— |
| #CD8B76 | 4.17AA Large | 3.03AA Large | 2.20— | 1.61— | Same color |
Shades
Shades and tints (50–950)
