PreviewingGo to this paletteOpen in generator
Code
/* Rainwater Gray — colorset.net */
:root {
--color-1: #AABBCC;
--color-2: #BBCCDD;
--color-3: #CCDDEE;
--color-4: #DDEEFF;
--color-5: #EEFFFF;
--color-bg: #EEFFFF;
--color-surface: #E5F6F6;
--color-border: #C9DEDE;
--color-text: #445361;
--color-muted: #60707F;
--color-primary: #7C8D9D;
--color-on-primary: #000000;
--color-accent: #4E5B68;
--color-on-accent: #FFFFFF;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #0B1015;
--color-surface: #151A1F;
--color-border: #272F36;
--color-text: #EEFFFF;
--color-muted: #829191;
--color-primary: #AABBCC;
--color-on-primary: #0B1015;
--color-accent: #DDEEFF;
--color-on-accent: #0B1015;
}
}
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 | from palette · color 5 | adjusted for contrast · from #AABBCC |
| Surface | derived | derived |
| Border | derived | derived |
| Text | adjusted for contrast · from #AABBCC | from palette · color 5 |
| Muted text | derived | derived |
| Primary | adjusted for contrast · from #AABBCC | from palette · color 1 |
| On primary | derived | derived |
| Accent | adjusted for contrast · from #AABBCC | from palette · color 4 |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 7.68:1 | AAA pass 4.5:1 | |
| Text on surface | 7.10:1 | AAA pass 4.5:1 | |
| Muted text on background | 4.95:1 | AA pass 4.5:1 | |
| Label on primary | 6.15:1 | AA pass 4.5:1 | |
| Label on accent | 6.95:1 | AA pass 4.5:1 | |
| Primary on background | 3.31:1 | AA Large pass 3:1 | |
| Accent on background | 6.75:1 | AA pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 18.54:1 | AAA pass 4.5:1 | |
| Text on surface | 16.99:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.83:1 | AA pass 4.5:1 | |
| Label on primary | 9.72:1 | AAA pass 4.5:1 | |
| Label on accent | 16.15:1 | AAA pass 4.5:1 | |
| Primary on background | 9.72:1 | AAA pass 3:1 | |
| Accent on background | 16.15: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 | #AABBCC (Text 1) | #BBCCDD (Text 2) | #CCDDEE (Text 3) | #DDEEFF (Text 4) | #EEFFFF (Text 5) |
|---|---|---|---|---|---|
| #AABBCC | Same color | 1.20— | 1.42— | 1.66— | 1.91— |
| #BBCCDD | 1.20— | Same color | 1.18— | 1.39— | 1.59— |
| #CCDDEE | 1.42— | 1.18— | Same color | 1.17— | 1.35— |
| #DDEEFF | 1.66— | 1.39— | 1.17— | Same color | 1.15— |
| #EEFFFF | 1.91— | 1.59— | 1.35— | 1.15— | Same color |
Shades
Shades and tints (50–950)
