PreviewingGo to this paletteOpen in generator
Code
/* Charcoal Sketch — colorset.net */
:root {
--color-1: #1C1C1E;
--color-2: #9AD1B7;
--color-3: #F27059;
--color-4: #48484C;
--color-5: #EFEDE8;
--color-bg: #EFEDE8;
--color-surface: #F6F4F1;
--color-border: #D8D4CC;
--color-text: #1C1C1E;
--color-muted: #6B6B6E;
--color-primary: #CB4D38;
--color-on-primary: #FFFFFF;
--color-accent: #5D927A;
--color-on-accent: #1C1C1E;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #1C1C1E;
--color-surface: #272729;
--color-border: #3C3C41;
--color-text: #EFEDE8;
--color-muted: #8F8D89;
--color-primary: #F27059;
--color-on-primary: #1C1C1E;
--color-accent: #9AD1B7;
--color-on-accent: #1C1C1E;
}
}
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 | from palette · color 1 |
| Surface | derived | derived |
| Border | derived | derived |
| Text | from palette · color 1 | from palette · color 5 |
| Muted text | derived | derived |
| Primary | adjusted for contrast · from #F27059 | from palette · color 3 |
| On primary | derived | derived |
| Accent | adjusted for contrast · from #9AD1B7 | from palette · color 2 |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 14.54:1 | AAA pass 4.5:1 | |
| Text on surface | 15.50:1 | AAA pass 4.5:1 | |
| Muted text on background | 4.54:1 | AA pass 4.5:1 | |
| Label on primary | 4.51:1 | AA pass 4.5:1 | |
| Label on accent | 4.75:1 | AA pass 4.5:1 | |
| Primary on background | 3.85:1 | AA Large pass 3:1 | |
| Accent on background | 3.06:1 | AA Large pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 14.54:1 | AAA pass 4.5:1 | |
| Text on surface | 12.74:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.14:1 | AA pass 4.5:1 | |
| Label on primary | 5.86:1 | AA pass 4.5:1 | |
| Label on accent | 9.87:1 | AAA pass 4.5:1 | |
| Primary on background | 5.86:1 | AA pass 3:1 | |
| Accent on background | 9.87: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 | #1C1C1E (Text 1) | #9AD1B7 (Text 2) | #F27059 (Text 3) | #48484C (Text 4) | #EFEDE8 (Text 5) |
|---|---|---|---|---|---|
| #1C1C1E | Same color | 9.87AAA | 5.86AA | 1.87— | 14.54AAA |
| #9AD1B7 | 9.87AAA | Same color | 1.68— | 5.28AA | 1.47— |
| #F27059 | 5.86AA | 1.68— | Same color | 3.14AA Large | 2.48— |
| #48484C | 1.87— | 5.28AA | 3.14AA Large | Same color | 7.78AAA |
| #EFEDE8 | 14.54AAA | 1.47— | 2.48— | 7.78AAA | Same color |
Shades
Shades and tints (50–950)
