PreviewingGo to this paletteOpen in generator
Code
/* Rust Orange — colorset.net */
:root {
--color-1: #CD5C5C;
--color-2: #A0522D;
--color-3: #D2691E;
--color-4: #DEB887;
--color-5: #F4A460;
--color-bg: #FFF5E8;
--color-surface: #F6ECDF;
--color-border: #DFD3C3;
--color-text: #7A3F24;
--color-muted: #81665A;
--color-primary: #BC5800;
--color-on-primary: #FFFFFF;
--color-accent: #BF5051;
--color-on-accent: #FFFFFF;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #1C0A04;
--color-surface: #27140B;
--color-border: #3F271D;
--color-text: #D3BB9C;
--color-muted: #927F68;
--color-primary: #BC5800;
--color-on-primary: #FFFFFF;
--color-accent: #BF5051;
--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 #DEB887 | adjusted for contrast · from #A0522D |
| Surface | derived | derived |
| Border | derived | derived |
| Text | adjusted for contrast · from #A0522D | adjusted for contrast · from #DEB887 |
| Muted text | derived | derived |
| Primary | adjusted for contrast · from #D2691E | adjusted for contrast · from #D2691E |
| On primary | derived | derived |
| Accent | adjusted for contrast · from #CD5C5C | adjusted for contrast · from #CD5C5C |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 7.60:1 | AAA pass 4.5:1 | |
| Text on surface | 7.01:1 | AAA pass 4.5:1 | |
| Muted text on background | 4.89:1 | AA pass 4.5:1 | |
| Label on primary | 4.63:1 | AA pass 4.5:1 | |
| Label on accent | 4.69:1 | AA pass 4.5:1 | |
| Primary on background | 4.30:1 | AA Large pass 3:1 | |
| Accent on background | 4.35:1 | AA Large pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 10.38:1 | AAA pass 4.5:1 | |
| Text on surface | 9.54:1 | AAA pass 4.5:1 | |
| Muted text on background | 4.99:1 | AA pass 4.5:1 | |
| Label on primary | 4.63:1 | AA pass 4.5:1 | |
| Label on accent | 4.69:1 | AA pass 4.5:1 | |
| Primary on background | 4.14:1 | AA Large pass 3:1 | |
| Accent on background | 4.09: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 | #CD5C5C (Text 1) | #A0522D (Text 2) | #D2691E (Text 3) | #DEB887 (Text 4) | #F4A460 (Text 5) |
|---|---|---|---|---|---|
| #CD5C5C | Same color | 1.41— | 1.09— | 2.14— | 1.96— |
| #A0522D | 1.41— | Same color | 1.55— | 3.02AA Large | 2.76— |
| #D2691E | 1.09— | 1.55— | Same color | 1.96— | 1.79— |
| #DEB887 | 2.14— | 3.02AA Large | 1.96— | Same color | 1.10— |
| #F4A460 | 1.96— | 2.76— | 1.79— | 1.10— | Same color |
Shades
Shades and tints (50–950)
