PreviewingGo to this paletteOpen in generator
Code
/* Wine Gray — colorset.net */
:root {
--color-1: #8B0000;
--color-2: #DC143C;
--color-3: #2F2F2F;
--color-4: #696969;
--color-5: #A9A9A9;
--color-bg: #F7F7F7;
--color-surface: #EDEDED;
--color-border: #D8D3D5;
--color-text: #2F2F2F;
--color-muted: #6B6B6B;
--color-primary: #DC143C;
--color-on-primary: #FFFFFF;
--color-accent: #878787;
--color-on-accent: #000000;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #0F0F0F;
--color-surface: #191919;
--color-border: #302D2E;
--color-text: #A9A9A9;
--color-muted: #828282;
--color-primary: #DC143C;
--color-on-primary: #FFFFFF;
--color-accent: #656565;
--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 #A9A9A9 | adjusted for contrast · from #2F2F2F |
| Surface | derived | derived |
| Border | derived | derived |
| Text | from palette · color 3 | from palette · color 5 |
| Muted text | derived | derived |
| Primary | from palette · color 2 | from palette · color 2 |
| On primary | derived | derived |
| Accent | adjusted for contrast · from #696969 | adjusted for contrast · from #696969 |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 12.50:1 | AAA pass 4.5:1 | |
| Text on surface | 11.44:1 | AAA pass 4.5:1 | |
| Muted text on background | 4.97:1 | AA pass 4.5:1 | |
| Label on primary | 4.99:1 | AA pass 4.5:1 | |
| Label on accent | 5.85:1 | AA pass 4.5:1 | |
| Primary on background | 4.66:1 | AA pass 3:1 | |
| Accent on background | 3.35:1 | AA Large pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 8.16:1 | AAA pass 4.5:1 | |
| Text on surface | 7.48:1 | AAA pass 4.5:1 | |
| Muted text on background | 4.99:1 | AA pass 4.5:1 | |
| Label on primary | 4.99:1 | AA pass 4.5:1 | |
| Label on accent | 5.83:1 | AA pass 4.5:1 | |
| Primary on background | 3.84:1 | AA Large pass 3:1 | |
| Accent on background | 3.29: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 | #8B0000 (Text 1) | #DC143C (Text 2) | #2F2F2F (Text 3) | #696969 (Text 4) | #A9A9A9 (Text 5) |
|---|---|---|---|---|---|
| #8B0000 | Same color | 2.01— | 1.34— | 1.82— | 4.26AA Large |
| #DC143C | 2.01— | Same color | 2.68— | 1.10— | 2.12— |
| #2F2F2F | 1.34— | 2.68— | Same color | 2.44— | 5.70AA |
| #696969 | 1.82— | 1.10— | 2.44— | Same color | 2.34— |
| #A9A9A9 | 4.26AA Large | 2.12— | 5.70AA | 2.34— | Same color |
Shades
Shades and tints (50–950)
