PreviewingGo to this paletteOpen in generator
Code
/* Rust Leather — colorset.net */
:root {
--color-1: #6B3410;
--color-2: #8B4513;
--color-3: #A55628;
--color-4: #BF673D;
--color-5: #D97852;
--color-bg: #FFF4F0;
--color-surface: #FAE9E3;
--color-border: #E4D0C8;
--color-text: #6B3410;
--color-muted: #7E6456;
--color-primary: #B55E34;
--color-on-primary: #FFFFFF;
--color-accent: #8B4513;
--color-on-accent: #FFFFFF;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #1B0A03;
--color-surface: #26140A;
--color-border: #3E281B;
--color-text: #C29C8E;
--color-muted: #997C71;
--color-primary: #B55E34;
--color-on-primary: #FFFFFF;
--color-accent: #905634;
--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 #D97852 | adjusted for contrast · from #6B3410 |
| Surface | derived | derived |
| Border | derived | derived |
| Text | from palette · color 1 | adjusted for contrast · from #D97852 |
| Muted text | derived | derived |
| Primary | adjusted for contrast · from #BF673D | adjusted for contrast · from #BF673D |
| On primary | derived | derived |
| Accent | from palette · color 2 | adjusted for contrast · from #A55628 |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 9.16:1 | AAA pass 4.5:1 | |
| Text on surface | 8.39:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.06:1 | AA pass 4.5:1 | |
| Label on primary | 4.55:1 | AA pass 4.5:1 | |
| Label on accent | 7.10:1 | AAA pass 4.5:1 | |
| Primary on background | 4.21:1 | AA Large pass 3:1 | |
| Accent on background | 6.57:1 | AA pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 7.73:1 | AAA pass 4.5:1 | |
| Text on surface | 7.11:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.02:1 | AA pass 4.5:1 | |
| Label on primary | 4.55:1 | AA pass 4.5:1 | |
| Label on accent | 5.89:1 | AA pass 4.5:1 | |
| Primary on background | 4.23:1 | AA Large pass 3:1 | |
| Accent on background | 3.27: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 | #6B3410 (Text 1) | #8B4513 (Text 2) | #A55628 (Text 3) | #BF673D (Text 4) | #D97852 (Text 5) |
|---|---|---|---|---|---|
| #6B3410 | Same color | 1.39— | 1.87— | 2.46— | 3.18AA Large |
| #8B4513 | 1.39— | Same color | 1.34— | 1.77— | 2.28— |
| #A55628 | 1.87— | 1.34— | Same color | 1.32— | 1.71— |
| #BF673D | 2.46— | 1.77— | 1.32— | Same color | 1.29— |
| #D97852 | 3.18AA Large | 2.28— | 1.71— | 1.29— | Same color |
Shades
Shades and tints (50–950)
