PreviewingGo to this paletteOpen in generator
Code
/* Garnet Deep — colorset.net */
:root {
--color-1: #3D0C11;
--color-2: #5C0F20;
--color-3: #7C1F2E;
--color-4: #9F353C;
--color-5: #C2554A;
--color-bg: #FFF4F2;
--color-surface: #FBE9E6;
--color-border: #E5CFCC;
--color-text: #3D0C11;
--color-muted: #826363;
--color-primary: #BF5247;
--color-on-primary: #FFFFFF;
--color-accent: #5C0F20;
--color-on-accent: #FFFFFF;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #1B0A0A;
--color-surface: #261414;
--color-border: #3E2727;
--color-text: #C49B95;
--color-muted: #9B7B77;
--color-primary: #BF5247;
--color-on-primary: #FFFFFF;
--color-accent: #8E5556;
--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 #C2554A | adjusted for contrast · from #3D0C11 |
| Surface | derived | derived |
| Border | derived | derived |
| Text | from palette · color 1 | adjusted for contrast · from #C2554A |
| Muted text | derived | derived |
| Primary | adjusted for contrast · from #C2554A | adjusted for contrast · from #C2554A |
| On primary | derived | derived |
| Accent | from palette · color 2 | adjusted for contrast · from #9F353C |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 15.47:1 | AAA pass 4.5:1 | |
| Text on surface | 14.22:1 | AAA pass 4.5:1 | |
| Muted text on background | 4.98:1 | AA pass 4.5:1 | |
| Label on primary | 4.65:1 | AA pass 4.5:1 | |
| Label on accent | 13.60:1 | AAA pass 4.5:1 | |
| Primary on background | 4.32:1 | AA Large pass 3:1 | |
| Accent on background | 12.61:1 | AAA pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 7.74:1 | AAA pass 4.5:1 | |
| Text on surface | 7.10:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.02:1 | AA pass 4.5:1 | |
| Label on primary | 4.65:1 | AA pass 4.5:1 | |
| Label on accent | 5.86:1 | AA pass 4.5:1 | |
| Primary on background | 4.12: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 | #3D0C11 (Text 1) | #5C0F20 (Text 2) | #7C1F2E (Text 3) | #9F353C (Text 4) | #C2554A (Text 5) |
|---|---|---|---|---|---|
| #3D0C11 | Same color | 1.23— | 1.66— | 2.42— | 3.73AA Large |
| #5C0F20 | 1.23— | Same color | 1.36— | 1.97— | 3.04AA Large |
| #7C1F2E | 1.66— | 1.36— | Same color | 1.46— | 2.24— |
| #9F353C | 2.42— | 1.97— | 1.46— | Same color | 1.54— |
| #C2554A | 3.73AA Large | 3.04AA Large | 2.24— | 1.54— | Same color |
Shades
Shades and tints (50–950)
