Palette Library
Paper and Ink
A minimal palette for creative with a gray primary and a red accent. Text reaches 14.91:1 in light mode and 18.22:1 in dark mode.
How to use it
Paper and Ink's roles on a real interface, with the ratios stored for this palette.
- Light mode: page #f5f6f7, cards #e1e8ef, and text #18222a at 14.91:1; buttons #262626 with #f5f6f7 labels at 13.98:1; highlights #e11d48 with #ffffff text at 4.69:1.
- Dark mode: page #070808, cards #141515, and text #f3f4f6 at 18.22:1; buttons #c2c2c2 with #070808 labels at 11.25:1; highlights #ff5569 with #070808 text at 6.45:1.
- Links: #262626 reaches 13.98:1 on the light page, and #c2c2c2 reaches 11.25:1 on the dark page.
- The accent as text: In light mode, keep #e11d48 for fills and badges, not text: it reaches only 4.34:1 on the page.
Preview
The same palette on a small interface in light and dark.
Light mode
A place for your ideas
Start with colors that work together.
Your next project
A surface for the details that matter.
NewExplore your palette →
Dark mode
A place for your ideas
Start with colors that work together.
Your next project
A surface for the details that matter.
NewExplore your palette →
Roles
Five roles and their two foregrounds. Copy the exact HEX values.
| Role | Light | Dark |
|---|---|---|
| Background | #f5f6f7 | #070808 |
| Surface | #e1e8ef | #141515 |
| Text | #18222a | #f3f4f6 |
| Primary | #262626 | #c2c2c2 |
| Primary Foreground | #f5f6f7 | #070808 |
| Accent | #e11d48 | #ff5569 |
| Accent Foreground | #ffffff | #070808 |
Contrast matrix
Five required pairs per mode, judged on the final 8-bit colors.
Light mode
Scroll the table sideways on a small screen.
| Foreground / Background | Background | Surface | Primary | Accent |
|---|---|---|---|---|
| Text | 14.91:1AAArequired | 13.05:1AAArequired | 1.06:1Fail | 3.43:1AA large |
| Primary | 13.98:1AAArequired | 12.24:1AAA | 1.00:1Fail | 3.22:1AA large |
| Accent | 4.34:1AA large | 3.80:1AA large | 3.22:1AA large | 1.00:1Fail |
| Primary Foreground | 1.00:1Fail | 1.14:1Fail | 13.98:1AAArequired | 4.34:1AA large |
| Accent Foreground | 1.08:1Fail | 1.23:1Fail | 15.13:1AAA | 4.69:1AArequired |
Dark mode
Scroll the table sideways on a small screen.
| Foreground / Background | Background | Surface | Primary | Accent |
|---|---|---|---|---|
| Text | 18.22:1AAArequired | 16.62:1AAArequired | 1.61:1Fail | 2.82:1Fail |
| Primary | 11.25:1AAArequired | 10.27:1AAA | 1.00:1Fail | 1.74:1Fail |
| Accent | 6.45:1AA | 5.88:1AA | 1.74:1Fail | 1.00:1Fail |
| Primary Foreground | 1.00:1Fail | 1.09:1Fail | 11.25:1AAArequired | 6.45:1AA |
| Accent Foreground | 1.00:1Fail | 1.09:1Fail | 11.25:1AAA | 6.45:1AArequired |
AAA: normal text ≥ 7:1. AA: normal text ≥ 4.5:1. AA large: large text ≥ 3:1 (24 px, or 18.66 px bold). UI: required component contrast ≥ 3:1. Fail: below 3:1. Required marks the five pairs ColorLint checks in each mode. Other pairs are informational.
ColorLint checks color contrast only. Passing pairs do not mean a page is accessible.
Exports
Both modes, with the exact values the Palette Generator exports.
CSS variables
/* ColorLint palette (v1). Light values in :root; dark values in .dark. */
:root {
--background: #f5f6f7;
--surface: #e1e8ef;
--text: #18222a;
--primary: #262626;
--primary-foreground: #f5f6f7;
--accent: #e11d48;
--accent-foreground: #ffffff;
}
.dark {
--background: #070808;
--surface: #141515;
--text: #f3f4f6;
--primary: #c2c2c2;
--primary-foreground: #070808;
--accent: #ff5569;
--accent-foreground: #070808;
}
Tailwind v4
/* ColorLint palette for Tailwind CSS v4 (palette v1). */
/* Paste after @import "tailwindcss". Add the "dark" class to <html> for dark mode. */
@custom-variant dark (&:where(.dark, .dark *));
:root {
color-scheme: light;
--background: #f5f6f7;
--surface: #e1e8ef;
--text: #18222a;
--primary: #262626;
--primary-foreground: #f5f6f7;
--accent: #e11d48;
--accent-foreground: #ffffff;
}
.dark {
color-scheme: dark;
--background: #070808;
--surface: #141515;
--text: #f3f4f6;
--primary: #c2c2c2;
--primary-foreground: #070808;
--accent: #ff5569;
--accent-foreground: #070808;
}
@theme inline {
--color-background: var(--background);
--color-surface: var(--surface);
--color-text: var(--text);
--color-primary: var(--primary);
--color-primary-foreground: var(--primary-foreground);
--color-accent: var(--accent);
--color-accent-foreground: var(--accent-foreground);
}
Compared with similar palettes
- Compared with Scarlet Studio, which shares the minimal style: text reaches 14.91:1 in light mode against 16.82:1, the primary is gray where Scarlet Studio's is red, and the accent is red where Scarlet Studio's is gray.
- Compared with Sketchbook, which shares the minimal style: text reaches 14.91:1 in light mode against 12.83:1, both use a gray primary, and the accent is red where Sketchbook's is yellow.