Palette Library
Scarlet Studio
A minimal palette for creative with a red primary and a gray accent. Text reaches 16.82:1 in light mode and 16.22:1 in dark mode.
How to use it
Scarlet Studio's roles on a real interface, with the ratios stored for this palette.
- Light mode: page #fcf7f6, cards #eee6e5, and text #1f1514 at 16.82:1; buttons #a4161a with #fcf7f6 labels at 7.30:1; highlights #e5e5e5 with #1f1514 text at 14.18:1.
- Dark mode: page #171110, cards #1b1a1a, and text #f2eeee at 16.22:1; buttons #ff7c71 with #171110 labels at 7.44:1; highlights #e5e5e5 with #171110 text at 14.83:1.
- Links: #a4161a reaches 7.30:1 on the light page, and #ff7c71 reaches 7.44:1 on the dark page.
- The accent as text: In light mode, keep #e5e5e5 for fills and badges, not text: it reaches only 1.18: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 | #fcf7f6 | #171110 |
| Surface | #eee6e5 | #1b1a1a |
| Text | #1f1514 | #f2eeee |
| Primary | #a4161a | #ff7c71 |
| Primary Foreground | #fcf7f6 | #171110 |
| Accent | #e5e5e5 | #e5e5e5 |
| Accent Foreground | #1f1514 | #171110 |
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 | 16.82:1AAArequired | 14.53:1AAArequired | 2.30:1Fail | 14.18:1AAA |
| Primary | 7.30:1AAArequired | 6.30:1AA | 1.00:1Fail | 6.15:1AA |
| Accent | 1.18:1Fail | 1.02:1Fail | 6.15:1AA | 1.00:1Fail |
| Primary Foreground | 1.00:1Fail | 1.15:1Fail | 7.30:1AAArequired | 1.18:1Fail |
| Accent Foreground | 16.82:1AAA | 14.53:1AAA | 2.30:1Fail | 14.18:1AAArequired |
Dark mode
Scroll the table sideways on a small screen.
| Foreground / Background | Background | Surface | Primary | Accent |
|---|---|---|---|---|
| Text | 16.22:1AAArequired | 15.08:1AAArequired | 2.17:1Fail | 1.09:1Fail |
| Primary | 7.44:1AAArequired | 6.92:1AA | 1.00:1Fail | 1.99:1Fail |
| Accent | 14.83:1AAA | 13.78:1AAA | 1.99:1Fail | 1.00:1Fail |
| Primary Foreground | 1.00:1Fail | 1.07:1Fail | 7.44:1AAArequired | 14.83:1AAA |
| Accent Foreground | 1.00:1Fail | 1.07:1Fail | 7.44:1AAA | 14.83:1AAArequired |
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: #fcf7f6;
--surface: #eee6e5;
--text: #1f1514;
--primary: #a4161a;
--primary-foreground: #fcf7f6;
--accent: #e5e5e5;
--accent-foreground: #1f1514;
}
.dark {
--background: #171110;
--surface: #1b1a1a;
--text: #f2eeee;
--primary: #ff7c71;
--primary-foreground: #171110;
--accent: #e5e5e5;
--accent-foreground: #171110;
}
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: #fcf7f6;
--surface: #eee6e5;
--text: #1f1514;
--primary: #a4161a;
--primary-foreground: #fcf7f6;
--accent: #e5e5e5;
--accent-foreground: #1f1514;
}
.dark {
color-scheme: dark;
--background: #171110;
--surface: #1b1a1a;
--text: #f2eeee;
--primary: #ff7c71;
--primary-foreground: #171110;
--accent: #e5e5e5;
--accent-foreground: #171110;
}
@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 Paper and Ink, which shares the minimal style: text reaches 16.82:1 in light mode against 14.91:1, the primary is red where Paper and Ink's is gray, and the accent is gray where Paper and Ink's is red.
- Compared with Sketchbook, which shares the minimal style: text reaches 16.82:1 in light mode against 12.83:1, the primary is red where Sketchbook's is gray, and the accent is gray where Sketchbook's is yellow.