PreviewingGo to this paletteOpen in generator
Code
/* India Ink — colorset.net */
:root {
--color-1: #080808;
--color-2: #181818;
--color-3: #282828;
--color-4: #383838;
--color-5: #484848;
--color-bg: #F7F7F7;
--color-surface: #EDEDED;
--color-border: #D8D3D5;
--color-text: #080808;
--color-muted: #606060;
--color-primary: #484848;
--color-on-primary: #FFFFFF;
--color-accent: #181818;
--color-on-accent: #FFFFFF;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #080808;
--color-surface: #111111;
--color-border: #272425;
--color-text: #9F9F9F;
--color-muted: #7E7E7E;
--color-primary: #616161;
--color-on-primary: #FFFFFF;
--color-accent: #939393;
--color-on-accent: #080808;
}
}
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 #484848 | from palette · color 1 |
| Surface | derived | derived |
| Border | derived | derived |
| Text | from palette · color 1 | adjusted for contrast · from #484848 |
| Muted text | derived | derived |
| Primary | from palette · color 5 | adjusted for contrast · from #484848 |
| On primary | derived | derived |
| Accent | from palette · color 2 | adjusted for contrast · from #484848 |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 18.69:1 | AAA pass 4.5:1 | |
| Text on surface | 17.11:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.87:1 | AA pass 4.5:1 | |
| Label on primary | 9.15:1 | AAA pass 4.5:1 | |
| Label on accent | 17.76:1 | AAA pass 4.5:1 | |
| Primary on background | 8.54:1 | AAA pass 3:1 | |
| Accent on background | 16.57:1 | AAA pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 7.57:1 | AAA pass 4.5:1 | |
| Text on surface | 7.13:1 | AAA pass 4.5:1 | |
| Muted text on background | 4.93:1 | AA pass 4.5:1 | |
| Label on primary | 6.19:1 | AA pass 4.5:1 | |
| Label on accent | 6.52:1 | AA pass 4.5:1 | |
| Primary on background | 3.23:1 | AA Large pass 3:1 | |
| Accent on background | 6.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 | #080808 (Text 1) | #181818 (Text 2) | #282828 (Text 3) | #383838 (Text 4) | #484848 (Text 5) |
|---|---|---|---|---|---|
| #080808 | Same color | 1.13— | 1.36— | 1.71— | 2.19— |
| #181818 | 1.13— | Same color | 1.20— | 1.51— | 1.94— |
| #282828 | 1.36— | 1.20— | Same color | 1.26— | 1.61— |
| #383838 | 1.71— | 1.51— | 1.26— | Same color | 1.28— |
| #484848 | 2.19— | 1.94— | 1.61— | 1.28— | Same color |
Shades
Shades and tints (50–950)
