PreviewingGo to this paletteOpen in generator
Code
/* Wine Purple — colorset.net */
:root {
--color-1: #722F37;
--color-2: #864449;
--color-3: #9A595B;
--color-4: #AE6E6D;
--color-5: #C2837F;
--color-bg: #FFF4F3;
--color-surface: #FBE9E7;
--color-border: #E5CFCD;
--color-text: #703138;
--color-muted: #826365;
--color-primary: #A46564;
--color-on-primary: #FFFFFF;
--color-accent: #864449;
--color-on-accent: #FFFFFF;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #1C080A;
--color-surface: #271214;
--color-border: #402527;
--color-text: #C39A97;
--color-muted: #9A7A78;
--color-primary: #A46564;
--color-on-primary: #FFFFFF;
--color-accent: #C2837F;
--color-on-accent: #1C080A;
}
}
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 #C2837F | adjusted for contrast · from #722F37 |
| Surface | derived | derived |
| Border | derived | derived |
| Text | adjusted for contrast · from #722F37 | adjusted for contrast · from #C2837F |
| Muted text | derived | derived |
| Primary | adjusted for contrast · from #AE6E6D | adjusted for contrast · from #AE6E6D |
| On primary | derived | derived |
| Accent | from palette · color 2 | from palette · color 5 |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 8.92:1 | AAA pass 4.5:1 | |
| Text on surface | 8.20:1 | AAA pass 4.5:1 | |
| Muted text on background | 4.97:1 | AA pass 4.5:1 | |
| Label on primary | 4.54:1 | AA pass 4.5:1 | |
| Label on accent | 7.15:1 | AAA pass 4.5:1 | |
| Primary on background | 4.21:1 | AA Large pass 3:1 | |
| Accent on background | 6.64:1 | AA pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 7.71:1 | AAA pass 4.5:1 | |
| Text on surface | 7.09:1 | AAA pass 4.5:1 | |
| Muted text on background | 4.99:1 | AA pass 4.5:1 | |
| Label on primary | 4.54:1 | AA pass 4.5:1 | |
| Label on accent | 6.29:1 | AA pass 4.5:1 | |
| Primary on background | 4.25:1 | AA Large pass 3:1 | |
| Accent on background | 6.29:1 | AA 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 | #722F37 (Text 1) | #864449 (Text 2) | #9A595B (Text 3) | #AE6E6D (Text 4) | #C2837F (Text 5) |
|---|---|---|---|---|---|
| #722F37 | Same color | 1.35— | 1.82— | 2.41— | 3.14AA Large |
| #864449 | 1.35— | Same color | 1.35— | 1.79— | 2.33— |
| #9A595B | 1.82— | 1.35— | Same color | 1.33— | 1.73— |
| #AE6E6D | 2.41— | 1.79— | 1.33— | Same color | 1.30— |
| #C2837F | 3.14AA Large | 2.33— | 1.73— | 1.30— | Same color |
Shades
Shades and tints (50–950)
