PreviewingGo to this paletteOpen in generator
Code
/* Clay Studio — colorset.net */
:root {
--color-1: #FAF0E8;
--color-2: #BF5546;
--color-3: #3A5E4E;
--color-4: #DE958B;
--color-5: #3A2120;
--color-bg: #FAF0E8;
--color-surface: #FEF8F3;
--color-border: #E4D7CC;
--color-text: #3A2120;
--color-muted: #836563;
--color-primary: #BF5546;
--color-on-primary: #FFFFFF;
--color-accent: #3A5E4E;
--color-on-accent: #FFFFFF;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #160D0C;
--color-surface: #201716;
--color-border: #382A29;
--color-text: #FAF0E8;
--color-muted: #908780;
--color-primary: #BF5546;
--color-on-primary: #FFFFFF;
--color-accent: #4B6F5F;
--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 | from palette · color 1 | adjusted for contrast · from #3A2120 |
| Surface | derived | derived |
| Border | derived | derived |
| Text | from palette · color 5 | from palette · color 1 |
| Muted text | derived | derived |
| Primary | from palette · color 2 | from palette · color 2 |
| On primary | derived | derived |
| Accent | from palette · color 3 | adjusted for contrast · from #3A5E4E |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 13.18:1 | AAA pass 4.5:1 | |
| Text on surface | 14.06:1 | AAA pass 4.5:1 | |
| Muted text on background | 4.67:1 | AA pass 4.5:1 | |
| Label on primary | 4.56:1 | AA pass 4.5:1 | |
| Label on accent | 7.26:1 | AAA pass 4.5:1 | |
| Primary on background | 4.06:1 | AA Large pass 3:1 | |
| Accent on background | 6.47:1 | AA pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 17.04:1 | AAA pass 4.5:1 | |
| Text on surface | 15.64:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.44:1 | AA pass 4.5:1 | |
| Label on primary | 4.56:1 | AA pass 4.5:1 | |
| Label on accent | 5.62:1 | AA pass 4.5:1 | |
| Primary on background | 4.20: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 | #FAF0E8 (Text 1) | #BF5546 (Text 2) | #3A5E4E (Text 3) | #DE958B (Text 4) | #3A2120 (Text 5) |
|---|---|---|---|---|---|
| #FAF0E8 | Same color | 4.06AA Large | 6.47AA | 2.13— | 13.18AAA |
| #BF5546 | 4.06AA Large | Same color | 1.59— | 1.91— | 3.25AA Large |
| #3A5E4E | 6.47AA | 1.59— | Same color | 3.04AA Large | 2.04— |
| #DE958B | 2.13— | 1.91— | 3.04AA Large | Same color | 6.19AA |
| #3A2120 | 13.18AAA | 3.25AA Large | 2.04— | 6.19AA | Same color |
Shades
Shades and tints (50–950)
