PreviewingGo to this paletteOpen in generator
Code
/* Brick Grid — colorset.net */
:root {
--color-1: #F2ECE3;
--color-2: #B23A2A;
--color-3: #263A5C;
--color-4: #D9A63C;
--color-5: #201C1A;
--color-bg: #F2ECE3;
--color-surface: #F7F4EE;
--color-border: #DBD3C7;
--color-text: #201C1A;
--color-muted: #6D6865;
--color-primary: #B23A2A;
--color-on-primary: #FFFFFF;
--color-accent: #976E00;
--color-on-accent: #FFFFFF;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #201C1A;
--color-surface: #2B2725;
--color-border: #433B38;
--color-text: #F2ECE3;
--color-muted: #959088;
--color-primary: #C34A39;
--color-on-primary: #FFFFFF;
--color-accent: #D9A63C;
--color-on-accent: #201C1A;
}
}
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 2 | adjusted for contrast · from #B23A2A |
| On primary | derived | derived |
| Accent | adjusted for contrast · from #B23A2A | from palette · color 4 |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 14.39:1 | AAA pass 4.5:1 | |
| Text on surface | 15.40:1 | AAA pass 4.5:1 | |
| Muted text on background | 4.68:1 | AA pass 4.5:1 | |
| Label on primary | 5.95:1 | AA pass 4.5:1 | |
| Label on accent | 4.62:1 | AA pass 4.5:1 | |
| Primary on background | 5.06:1 | AA pass 3:1 | |
| Accent on background | 3.93:1 | AA Large pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 14.39:1 | AAA pass 4.5:1 | |
| Text on surface | 12.60:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.33:1 | AA pass 4.5:1 | |
| Label on primary | 4.82:1 | AA pass 4.5:1 | |
| Label on accent | 7.62:1 | AAA pass 4.5:1 | |
| Primary on background | 3.51:1 | AA Large pass 3:1 | |
| Accent on background | 7.62: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 | #F2ECE3 (Text 1) | #B23A2A (Text 2) | #263A5C (Text 3) | #D9A63C (Text 4) | #201C1A (Text 5) |
|---|---|---|---|---|---|
| #F2ECE3 | Same color | 5.06AA | 9.71AAA | 1.89— | 14.39AAA |
| #B23A2A | 5.06AA | Same color | 1.92— | 2.68— | 2.84— |
| #263A5C | 9.71AAA | 1.92— | Same color | 5.14AA | 1.48— |
| #D9A63C | 1.89— | 2.68— | 5.14AA | Same color | 7.62AAA |
| #201C1A | 14.39AAA | 2.84— | 1.48— | 7.62AAA | Same color |
Shades
Shades and tints (50–950)
