PreviewingGo to this paletteOpen in generator
Code
/* Maroon Leather — colorset.net */
:root {
--color-1: #DC143C;
--color-2: #B22222;
--color-3: #8B0000;
--color-4: #800000;
--color-5: #A0522D;
--color-bg: #FFF4F3;
--color-surface: #FBE9E8;
--color-border: #E5CFCE;
--color-text: #692C24;
--color-muted: #81635E;
--color-primary: #DC143C;
--color-on-primary: #FFFFFF;
--color-accent: #800000;
--color-on-accent: #FFFFFF;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #1C0907;
--color-surface: #281310;
--color-border: #402622;
--color-text: #C69C9B;
--color-muted: #997978;
--color-primary: #DC143C;
--color-on-primary: #FFFFFF;
--color-accent: #B33E31;
--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 #DC143C | adjusted for contrast · from #800000 |
| Surface | derived | derived |
| Border | derived | derived |
| Text | adjusted for contrast · from #800000 | adjusted for contrast · from #A0522D |
| Muted text | derived | derived |
| Primary | from palette · color 1 | from palette · color 1 |
| On primary | derived | derived |
| Accent | from palette · color 4 | adjusted for contrast · from #B22222 |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 9.81:1 | AAA pass 4.5:1 | |
| Text on surface | 9.02:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.02:1 | AA pass 4.5:1 | |
| Label on primary | 4.99:1 | AA pass 4.5:1 | |
| Label on accent | 10.95:1 | AAA pass 4.5:1 | |
| Primary on background | 4.63:1 | AA pass 3:1 | |
| Accent on background | 10.16:1 | AAA pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 7.91:1 | AAA pass 4.5:1 | |
| Text on surface | 7.25:1 | AAA pass 4.5:1 | |
| Muted text on background | 4.91:1 | AA pass 4.5:1 | |
| Label on primary | 4.99:1 | AA pass 4.5:1 | |
| Label on accent | 5.75:1 | AA pass 4.5:1 | |
| Primary on background | 3.86:1 | AA Large pass 3:1 | |
| Accent on background | 3.34: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 | #DC143C (Text 1) | #B22222 (Text 2) | #8B0000 (Text 3) | #800000 (Text 4) | #A0522D (Text 5) |
|---|---|---|---|---|---|
| #DC143C | Same color | 1.34— | 2.01— | 2.19— | 1.13— |
| #B22222 | 1.34— | Same color | 1.50— | 1.64— | 1.19— |
| #8B0000 | 2.01— | 1.50— | Same color | 1.09— | 1.78— |
| #800000 | 2.19— | 1.64— | 1.09— | Same color | 1.95— |
| #A0522D | 1.13— | 1.19— | 1.78— | 1.95— | Same color |
Shades
Shades and tints (50–950)
