PreviewingGo to this paletteOpen in generator
Code
/* Terrazzo Patio — colorset.net */
:root {
--color-1: #F2E6D8;
--color-2: #C97B5A;
--color-3: #6E8F7A;
--color-4: #E7C48A;
--color-5: #33261F;
--color-bg: #F2E6D8;
--color-surface: #F5EEE6;
--color-border: #DBCDBC;
--color-text: #33261F;
--color-muted: #73645C;
--color-primary: #AB6040;
--color-on-primary: #FFFFFF;
--color-accent: #6B8C77;
--color-on-accent: #000000;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #130E0C;
--color-surface: #1D1816;
--color-border: #342C28;
--color-text: #F2E6D8;
--color-muted: #8C8275;
--color-primary: #C97B5A;
--color-on-primary: #130E0C;
--color-accent: #6E8F7A;
--color-on-accent: #130E0C;
}
}
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 | adjusted for contrast · from #33261F |
| Surface | derived | derived |
| Border | derived | derived |
| Text | from palette · color 5 | from palette · color 1 |
| Muted text | derived | derived |
| Primary | adjusted for contrast · from #C97B5A | from palette · color 2 |
| On primary | derived | derived |
| Accent | adjusted for contrast · from #6E8F7A | from palette · color 3 |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 11.88:1 | AAA pass 4.5:1 | |
| Text on surface | 12.70:1 | AAA pass 4.5:1 | |
| Muted text on background | 4.61:1 | AA pass 4.5:1 | |
| Label on primary | 4.69:1 | AA pass 4.5:1 | |
| Label on accent | 5.64:1 | AA pass 4.5:1 | |
| Primary on background | 3.81:1 | AA Large pass 3:1 | |
| Accent on background | 3.03:1 | AA Large pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 15.59:1 | AAA pass 4.5:1 | |
| Text on surface | 14.30:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.08:1 | AA pass 4.5:1 | |
| Label on primary | 5.90:1 | AA pass 4.5:1 | |
| Label on accent | 5.36:1 | AA pass 4.5:1 | |
| Primary on background | 5.90:1 | AA pass 3:1 | |
| Accent on background | 5.36: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 | #F2E6D8 (Text 1) | #C97B5A (Text 2) | #6E8F7A (Text 3) | #E7C48A (Text 4) | #33261F (Text 5) |
|---|---|---|---|---|---|
| #F2E6D8 | Same color | 2.64— | 2.91— | 1.35— | 11.88AAA |
| #C97B5A | 2.64— | Same color | 1.10— | 1.96— | 4.50AA |
| #6E8F7A | 2.91— | 1.10— | Same color | 2.16— | 4.08AA Large |
| #E7C48A | 1.35— | 1.96— | 2.16— | Same color | 8.81AAA |
| #33261F | 11.88AAA | 4.50AA | 4.08AA Large | 8.81AAA | Same color |
Shades
Shades and tints (50–950)
