PreviewingGo to this paletteOpen in generator
Code
/* Concrete Fog — colorset.net */
:root {
--color-1: #6B7280;
--color-2: #9CA3AF;
--color-3: #D1D5DB;
--color-4: #E5E7EB;
--color-5: #F9FAFB;
--color-bg: #F9FAFB;
--color-surface: #F0F1F2;
--color-border: #D5D8DC;
--color-text: #4A505D;
--color-muted: #666D7B;
--color-primary: #6B7280;
--color-on-primary: #FFFFFF;
--color-accent: #8A8B8B;
--color-on-accent: #000000;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #0D0F14;
--color-surface: #17191E;
--color-border: #2A2E35;
--color-text: #F9FAFB;
--color-muted: #8C8D8E;
--color-primary: #6B7280;
--color-on-primary: #FFFFFF;
--color-accent: #E5E7EB;
--color-on-accent: #0D0F14;
}
}
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 #6B7280 |
| Surface | derived | derived |
| Border | derived | derived |
| Text | adjusted for contrast · from #6B7280 | from palette · color 5 |
| Muted text | derived | derived |
| Primary | from palette · color 1 | from palette · color 1 |
| On primary | derived | derived |
| Accent | adjusted for contrast · from #9CA3AF | from palette · color 4 |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 7.74:1 | AAA pass 4.5:1 | |
| Text on surface | 7.15:1 | AAA pass 4.5:1 | |
| Muted text on background | 4.98:1 | AA pass 4.5:1 | |
| Label on primary | 4.83:1 | AA pass 4.5:1 | |
| Label on accent | 6.15:1 | AA pass 4.5:1 | |
| Primary on background | 4.63:1 | AA pass 3:1 | |
| Accent on background | 3.27:1 | AA Large pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 18.34:1 | AAA pass 4.5:1 | |
| Text on surface | 16.83:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.76:1 | AA pass 4.5:1 | |
| Label on primary | 4.83:1 | AA pass 4.5:1 | |
| Label on accent | 15.48:1 | AAA pass 4.5:1 | |
| Primary on background | 3.96:1 | AA Large pass 3:1 | |
| Accent on background | 15.48: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 | #6B7280 (Text 1) | #9CA3AF (Text 2) | #D1D5DB (Text 3) | #E5E7EB (Text 4) | #F9FAFB (Text 5) |
|---|---|---|---|---|---|
| #6B7280 | Same color | 1.90— | 3.28AA Large | 3.90AA Large | 4.63AA |
| #9CA3AF | 1.90— | Same color | 1.72— | 2.05— | 2.43— |
| #D1D5DB | 3.28AA Large | 1.72— | Same color | 1.19— | 1.41— |
| #E5E7EB | 3.90AA Large | 2.05— | 1.19— | Same color | 1.18— |
| #F9FAFB | 4.63AA | 2.43— | 1.41— | 1.18— | Same color |
Shades
Shades and tints (50–950)
