PreviewingGo to this paletteOpen in generator
Code
/* Rainstorm Gray — colorset.net */
:root {
--color-1: #696969;
--color-2: #808080;
--color-3: #979797;
--color-4: #AEAEAE;
--color-5: #C5C5C5;
--color-bg: #F7F7F7;
--color-surface: #EDEDED;
--color-border: #D8D3D5;
--color-text: #4D4D4D;
--color-muted: #6A6A6A;
--color-primary: #808080;
--color-on-primary: #000000;
--color-accent: #696969;
--color-on-accent: #FFFFFF;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #0F0F0F;
--color-surface: #191919;
--color-border: #302D2E;
--color-text: #C5C5C5;
--color-muted: #838383;
--color-primary: #808080;
--color-on-primary: #0F0F0F;
--color-accent: #AEAEAE;
--color-on-accent: #0F0F0F;
}
}
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 #C5C5C5 | adjusted for contrast · from #696969 |
| Surface | derived | derived |
| Border | derived | derived |
| Text | adjusted for contrast · from #696969 | from palette · color 5 |
| Muted text | derived | derived |
| Primary | from palette · color 2 | from palette · color 2 |
| On primary | derived | derived |
| Accent | from palette · color 1 | from palette · color 4 |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 7.89:1 | AAA pass 4.5:1 | |
| Text on surface | 7.22:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.05:1 | AA pass 4.5:1 | |
| Label on primary | 5.32:1 | AA pass 4.5:1 | |
| Label on accent | 5.49:1 | AA pass 4.5:1 | |
| Primary on background | 3.69:1 | AA Large pass 3:1 | |
| Accent on background | 5.12:1 | AA pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 11.11:1 | AAA pass 4.5:1 | |
| Text on surface | 10.19:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.06:1 | AA pass 4.5:1 | |
| Label on primary | 4.85:1 | AA pass 4.5:1 | |
| Label on accent | 8.64:1 | AAA pass 4.5:1 | |
| Primary on background | 4.85:1 | AA pass 3:1 | |
| Accent on background | 8.64:1 | AAA 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 | #696969 (Text 1) | #808080 (Text 2) | #979797 (Text 3) | #AEAEAE (Text 4) | #C5C5C5 (Text 5) |
|---|---|---|---|---|---|
| #696969 | Same color | 1.39— | 1.88— | 2.47— | 3.18AA Large |
| #808080 | 1.39— | Same color | 1.35— | 1.78— | 2.29— |
| #979797 | 1.88— | 1.35— | Same color | 1.32— | 1.69— |
| #AEAEAE | 2.47— | 1.78— | 1.32— | Same color | 1.29— |
| #C5C5C5 | 3.18AA Large | 2.29— | 1.69— | 1.29— | Same color |
Shades
Shades and tints (50–950)
