PreviewingGo to this paletteOpen in generator
Code
/* Red Gray — colorset.net */
:root {
--color-1: #8B0000;
--color-2: #B22222;
--color-3: #696969;
--color-4: #808080;
--color-5: #A9A9A9;
--color-bg: #F7F7F7;
--color-surface: #EDEDED;
--color-border: #D8D3D5;
--color-text: #70322A;
--color-muted: #82645F;
--color-primary: #B22222;
--color-on-primary: #FFFFFF;
--color-accent: #878787;
--color-on-accent: #000000;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #1C0907;
--color-surface: #281310;
--color-border: #402622;
--color-text: #A9A9A9;
--color-muted: #828282;
--color-primary: #BD2E2B;
--color-on-primary: #FFFFFF;
--color-accent: #808080;
--color-on-accent: #1C0907;
}
}
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 #8B0000 |
| Surface | derived | derived |
| Border | derived | derived |
| Text | adjusted for contrast · from #8B0000 | from palette · color 5 |
| Muted text | derived | derived |
| Primary | from palette · color 2 | adjusted for contrast · from #B22222 |
| On primary | derived | derived |
| Accent | adjusted for contrast · from #808080 | from palette · color 4 |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 9.00:1 | AAA pass 4.5:1 | |
| Text on surface | 8.23:1 | AAA pass 4.5:1 | |
| Muted text on background | 4.98:1 | AA pass 4.5:1 | |
| Label on primary | 6.68:1 | AA pass 4.5:1 | |
| Label on accent | 5.85:1 | AA pass 4.5:1 | |
| Primary on background | 6.23:1 | AA pass 3:1 | |
| Accent on background | 3.35:1 | AA Large pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 8.19:1 | AAA pass 4.5:1 | |
| Text on surface | 7.50:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.01:1 | AA pass 4.5:1 | |
| Label on primary | 5.85:1 | AA pass 4.5:1 | |
| Label on accent | 4.87:1 | AA pass 4.5:1 | |
| Primary on background | 3.29:1 | AA Large pass 3:1 | |
| Accent on background | 4.87: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 | #8B0000 (Text 1) | #B22222 (Text 2) | #696969 (Text 3) | #808080 (Text 4) | #A9A9A9 (Text 5) |
|---|---|---|---|---|---|
| #8B0000 | Same color | 1.50— | 1.82— | 2.53— | 4.26AA Large |
| #B22222 | 1.50— | Same color | 1.22— | 1.69— | 2.84— |
| #696969 | 1.82— | 1.22— | Same color | 1.39— | 2.34— |
| #808080 | 2.53— | 1.69— | 1.39— | Same color | 1.68— |
| #A9A9A9 | 4.26AA Large | 2.84— | 2.34— | 1.68— | Same color |
Shades
Shades and tints (50–950)
