PreviewingGo to this paletteOpen in generator
Code
/* Garnet Wine — colorset.net */
:root {
--color-1: #4D0011;
--color-2: #660022;
--color-3: #800033;
--color-4: #990044;
--color-5: #B30055;
--color-bg: #FFF3F6;
--color-surface: #FAE8EC;
--color-border: #E4CED3;
--color-text: #480B15;
--color-muted: #806162;
--color-primary: #B30055;
--color-on-primary: #FFFFFF;
--color-accent: #660022;
--color-on-accent: #FFFFFF;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #1C080A;
--color-surface: #271213;
--color-border: #402526;
--color-text: #C299A2;
--color-muted: #997A81;
--color-primary: #C11D60;
--color-on-primary: #FFFFFF;
--color-accent: #9C4C51;
--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 #B30055 | adjusted for contrast · from #4D0011 |
| Surface | derived | derived |
| Border | derived | derived |
| Text | adjusted for contrast · from #4D0011 | adjusted for contrast · from #B30055 |
| Muted text | derived | derived |
| Primary | from palette · color 5 | adjusted for contrast · from #B30055 |
| On primary | derived | derived |
| Accent | from palette · color 2 | adjusted for contrast · from #B30055 |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 14.54:1 | AAA pass 4.5:1 | |
| Text on surface | 13.35:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.10:1 | AA pass 4.5:1 | |
| Label on primary | 6.89:1 | AA pass 4.5:1 | |
| Label on accent | 13.22:1 | AAA pass 4.5:1 | |
| Primary on background | 6.37:1 | AA pass 3:1 | |
| Accent on background | 12.22:1 | AAA pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 7.69:1 | AAA pass 4.5:1 | |
| Text on surface | 7.08:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.01:1 | AA pass 4.5:1 | |
| Label on primary | 5.81:1 | AA pass 4.5:1 | |
| Label on accent | 5.89:1 | AA pass 4.5:1 | |
| Primary on background | 3.32:1 | AA Large pass 3:1 | |
| Accent on background | 3.28: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 | #4D0011 (Text 1) | #660022 (Text 2) | #800033 (Text 3) | #990044 (Text 4) | #B30055 (Text 5) |
|---|---|---|---|---|---|
| #4D0011 | Same color | 1.20— | 1.49— | 1.84— | 2.30— |
| #660022 | 1.20— | Same color | 1.24— | 1.54— | 1.92— |
| #800033 | 1.49— | 1.24— | Same color | 1.24— | 1.55— |
| #990044 | 1.84— | 1.54— | 1.24— | Same color | 1.25— |
| #B30055 | 2.30— | 1.92— | 1.55— | 1.25— | Same color |
Shades
Shades and tints (50–950)
