PreviewingGo to this paletteOpen in generator
Code
/* Tin Roof — colorset.net */
:root {
--color-1: #36454F;
--color-2: #4F5B66;
--color-3: #68737D;
--color-4: #818B94;
--color-5: #9AA3AB;
--color-bg: #F4F7FA;
--color-surface: #EBEEF0;
--color-border: #D0D6DB;
--color-text: #36454F;
--color-muted: #5C6C76;
--color-primary: #68737D;
--color-on-primary: #FFFFFF;
--color-accent: #7F888F;
--color-on-accent: #000000;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #0B1013;
--color-surface: #151A1E;
--color-border: #272F35;
--color-text: #9DA6AE;
--color-muted: #7C848C;
--color-primary: #68737D;
--color-on-primary: #FFFFFF;
--color-accent: #818B94;
--color-on-accent: #0B1013;
}
}
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 #9AA3AB | adjusted for contrast · from #36454F |
| Surface | derived | derived |
| Border | derived | derived |
| Text | from palette · color 1 | adjusted for contrast · from #9AA3AB |
| Muted text | derived | derived |
| Primary | from palette · color 3 | from palette · color 3 |
| On primary | derived | derived |
| Accent | adjusted for contrast · from #818B94 | from palette · color 4 |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 9.21:1 | AAA pass 4.5:1 | |
| Text on surface | 8.50:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.06:1 | AA pass 4.5:1 | |
| Label on primary | 4.84:1 | AA pass 4.5:1 | |
| Label on accent | 5.82:1 | AA pass 4.5:1 | |
| Primary on background | 4.50:1 | AA pass 3:1 | |
| Accent on background | 3.36:1 | AA Large pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 7.74:1 | AAA pass 4.5:1 | |
| Text on surface | 7.09:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.04:1 | AA pass 4.5:1 | |
| Label on primary | 4.84:1 | AA pass 4.5:1 | |
| Label on accent | 5.52:1 | AA pass 4.5:1 | |
| Primary on background | 3.95:1 | AA Large pass 3:1 | |
| Accent on background | 5.52: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 | #36454F (Text 1) | #4F5B66 (Text 2) | #68737D (Text 3) | #818B94 (Text 4) | #9AA3AB (Text 5) |
|---|---|---|---|---|---|
| #36454F | Same color | 1.42— | 2.04— | 2.85— | 3.87AA Large |
| #4F5B66 | 1.42— | Same color | 1.44— | 2.00— | 2.71— |
| #68737D | 2.04— | 1.44— | Same color | 1.40— | 1.89— |
| #818B94 | 2.85— | 2.00— | 1.40— | Same color | 1.35— |
| #9AA3AB | 3.87AA Large | 2.71— | 1.89— | 1.35— | Same color |
Shades
Shades and tints (50–950)
