PreviewingGo to this paletteOpen in generator
Code
/* Cirrus Gray — colorset.net */
:root {
--color-1: #E8E8E8;
--color-2: #DCDCDC;
--color-3: #D0D0D0;
--color-4: #C4C4C4;
--color-5: #B8B8B8;
--color-bg: #E8E8E8;
--color-surface: #EFEFEF;
--color-border: #D3CECF;
--color-text: #4B4B4B;
--color-muted: #666666;
--color-primary: #848484;
--color-on-primary: #000000;
--color-accent: #535353;
--color-on-accent: #FFFFFF;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #0F0F0F;
--color-surface: #191919;
--color-border: #302D2E;
--color-text: #E8E8E8;
--color-muted: #838383;
--color-primary: #B8B8B8;
--color-on-primary: #0F0F0F;
--color-accent: #D0D0D0;
--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 | from palette · color 1 | adjusted for contrast · from #B8B8B8 |
| Surface | derived | derived |
| Border | derived | derived |
| Text | adjusted for contrast · from #B8B8B8 | from palette · color 1 |
| Muted text | derived | derived |
| Primary | adjusted for contrast · from #B8B8B8 | from palette · color 5 |
| On primary | derived | derived |
| Accent | adjusted for contrast · from #B8B8B8 | from palette · color 3 |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 7.12:1 | AAA pass 4.5:1 | |
| Text on surface | 7.59:1 | AAA pass 4.5:1 | |
| Muted text on background | 4.69:1 | AA pass 4.5:1 | |
| Label on primary | 5.61:1 | AA pass 4.5:1 | |
| Label on accent | 7.69:1 | AAA pass 4.5:1 | |
| Primary on background | 3.05:1 | AA Large pass 3:1 | |
| Accent on background | 6.28:1 | AA pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 15.64:1 | AAA pass 4.5:1 | |
| Text on surface | 14.35:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.06:1 | AA pass 4.5:1 | |
| Label on primary | 9.66:1 | AAA pass 4.5:1 | |
| Label on accent | 12.43:1 | AAA pass 4.5:1 | |
| Primary on background | 9.66:1 | AAA pass 3:1 | |
| Accent on background | 12.43: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 | #E8E8E8 (Text 1) | #DCDCDC (Text 2) | #D0D0D0 (Text 3) | #C4C4C4 (Text 4) | #B8B8B8 (Text 5) |
|---|---|---|---|---|---|
| #E8E8E8 | Same color | 1.12— | 1.26— | 1.42— | 1.62— |
| #DCDCDC | 1.12— | Same color | 1.12— | 1.27— | 1.45— |
| #D0D0D0 | 1.26— | 1.12— | Same color | 1.13— | 1.29— |
| #C4C4C4 | 1.42— | 1.27— | 1.13— | Same color | 1.14— |
| #B8B8B8 | 1.62— | 1.45— | 1.29— | 1.14— | Same color |
Shades
Shades and tints (50–950)
