PreviewingGo to this paletteOpen in generator
Code
/* Sumi Ink — colorset.net */
:root {
--color-1: #EFEDE8;
--color-2: #8C3B2E;
--color-3: #6A8466;
--color-4: #CBC6BC;
--color-5: #1F1E1C;
--color-bg: #EFEDE8;
--color-surface: #F6F4F1;
--color-border: #D8D4CC;
--color-text: #1F1E1C;
--color-muted: #6B6A67;
--color-primary: #8C3B2E;
--color-on-primary: #FFFFFF;
--color-accent: #6A8466;
--color-on-accent: #000000;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #1F1E1C;
--color-surface: #2A2927;
--color-border: #413E39;
--color-text: #EFEDE8;
--color-muted: #93918D;
--color-primary: #B05B4D;
--color-on-primary: #FFFFFF;
--color-accent: #6A8466;
--color-on-accent: #000000;
}
}
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 | from palette · color 5 |
| Surface | derived | derived |
| Border | derived | derived |
| Text | from palette · color 5 | from palette · color 1 |
| Muted text | derived | derived |
| Primary | from palette · color 2 | adjusted for contrast · from #8C3B2E |
| On primary | derived | derived |
| Accent | from palette · color 3 | from palette · color 3 |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 14.24:1 | AAA pass 4.5:1 | |
| Text on surface | 15.17:1 | AAA pass 4.5:1 | |
| Muted text on background | 4.62:1 | AA pass 4.5:1 | |
| Label on primary | 7.55:1 | AAA pass 4.5:1 | |
| Label on accent | 5.11:1 | AA pass 4.5:1 | |
| Primary on background | 6.46:1 | AA pass 3:1 | |
| Accent on background | 3.52:1 | AA Large pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 14.24:1 | AAA pass 4.5:1 | |
| Text on surface | 12.42:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.29:1 | AA pass 4.5:1 | |
| Label on primary | 4.72:1 | AA pass 4.5:1 | |
| Label on accent | 5.11:1 | AA pass 4.5:1 | |
| Primary on background | 3.53:1 | AA Large pass 3:1 | |
| Accent on background | 4.05:1 | AA Large 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 | #EFEDE8 (Text 1) | #8C3B2E (Text 2) | #6A8466 (Text 3) | #CBC6BC (Text 4) | #1F1E1C (Text 5) |
|---|---|---|---|---|---|
| #EFEDE8 | Same color | 6.46AA | 3.52AA Large | 1.45— | 14.24AAA |
| #8C3B2E | 6.46AA | Same color | 1.84— | 4.44AA Large | 2.21— |
| #6A8466 | 3.52AA Large | 1.84— | Same color | 2.42— | 4.05AA Large |
| #CBC6BC | 1.45— | 4.44AA Large | 2.42— | Same color | 9.79AAA |
| #1F1E1C | 14.24AAA | 2.21— | 4.05AA Large | 9.79AAA | Same color |
Shades
Shades and tints (50–950)
