PreviewingGo to this paletteOpen in generator
Code
/* Cement Gray — colorset.net */
:root {
--color-1: #5A5F66;
--color-2: #6E737A;
--color-3: #82878E;
--color-4: #969BA2;
--color-5: #AAAFB6;
--color-bg: #F5F7F9;
--color-surface: #ECEDF0;
--color-border: #D1D5DA;
--color-text: #4A4E55;
--color-muted: #666B72;
--color-primary: #6E737A;
--color-on-primary: #FFFFFF;
--color-accent: #82878E;
--color-on-accent: #000000;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #0E1012;
--color-surface: #181A1C;
--color-border: #2B2E33;
--color-text: #AAAFB6;
--color-muted: #7E8389;
--color-primary: #6E737A;
--color-on-primary: #FFFFFF;
--color-accent: #969BA2;
--color-on-accent: #0E1012;
}
}
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 #AAAFB6 | adjusted for contrast · from #5A5F66 |
| Surface | derived | derived |
| Border | derived | derived |
| Text | adjusted for contrast · from #5A5F66 | 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 #82878E | from palette · color 4 |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 7.78:1 | AAA pass 4.5:1 | |
| Text on surface | 7.14:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.00:1 | AA pass 4.5:1 | |
| Label on primary | 4.78:1 | AA pass 4.5:1 | |
| Label on accent | 5.81:1 | AA pass 4.5:1 | |
| Primary on background | 4.45:1 | AA Large pass 3:1 | |
| Accent on background | 3.37:1 | AA Large pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 8.64:1 | AAA pass 4.5:1 | |
| Text on surface | 7.91:1 | AAA pass 4.5:1 | |
| Muted text on background | 4.99:1 | AA pass 4.5:1 | |
| Label on primary | 4.78:1 | AA pass 4.5:1 | |
| Label on accent | 6.82:1 | AA pass 4.5:1 | |
| Primary on background | 3.99:1 | AA Large pass 3:1 | |
| Accent on background | 6.82: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 | #5A5F66 (Text 1) | #6E737A (Text 2) | #82878E (Text 3) | #969BA2 (Text 4) | #AAAFB6 (Text 5) |
|---|---|---|---|---|---|
| #5A5F66 | Same color | 1.35— | 1.78— | 2.30— | 2.92— |
| #6E737A | 1.35— | Same color | 1.32— | 1.71— | 2.16— |
| #82878E | 1.78— | 1.32— | Same color | 1.29— | 1.64— |
| #969BA2 | 2.30— | 1.71— | 1.29— | Same color | 1.27— |
| #AAAFB6 | 2.92— | 2.16— | 1.64— | 1.27— | Same color |
Shades
Shades and tints (50–950)
