Palette Library
Terracotta Studio
An earthy palette for creative with a red primary and a teal accent. Text reaches 16.96:1 in light mode and 14.93:1 in dark mode.
How to use it
Terracotta Studio's roles on a real interface, with the ratios stored for this palette.
- Light mode: page #fdfaf6, cards #f9f3eb, and text #20170c at 16.96:1; buttons #b4441f with #fdfaf6 labels at 5.32:1; highlights #0f766e with #fdfaf6 text at 5.25:1.
- Dark mode: page #151412, cards #1f1b17, and text #eae7e3 at 14.93:1; buttons #ef7a55 with #151412 labels at 6.64:1; highlights #5db5ac with #151412 text at 7.60:1.
- Links: #b4441f reaches 5.32:1 on the light page, and #ef7a55 reaches 6.64:1 on the dark page.
- The accent as text: #0f766e also works as text: 5.25:1 on the light page and 7.60:1 on the dark 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 | #fdfaf6 | #151412 |
| Surface | #f9f3eb | #1f1b17 |
| Text | #20170c | #eae7e3 |
| Primary | #b4441f | #ef7a55 |
| Primary Foreground | #fdfaf6 | #151412 |
| Accent | #0f766e | #5db5ac |
| Accent Foreground | #fdfaf6 | #151412 |
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.96:1AAArequired | 16.01:1AAArequired | 3.18:1AA large | 3.22:1AA large |
| Primary | 5.32:1AArequired | 5.02:1AA | 1.00:1Fail | 1.01:1Fail |
| Accent | 5.25:1AA | 4.96:1AA | 1.01:1Fail | 1.00:1Fail |
| Primary Foreground | 1.00:1Fail | 1.05:1Fail | 5.32:1AArequired | 5.25:1AA |
| Accent Foreground | 1.00:1Fail | 1.05:1Fail | 5.32:1AA | 5.25:1AArequired |
Dark mode
Scroll the table sideways on a small screen.
| Foreground / Background | Background | Surface | Primary | Accent |
|---|---|---|---|---|
| Text | 14.93:1AAArequired | 13.88:1AAArequired | 2.24:1Fail | 1.96:1Fail |
| Primary | 6.64:1AArequired | 6.17:1AA | 1.00:1Fail | 1.14:1Fail |
| Accent | 7.60:1AAA | 7.06:1AAA | 1.14:1Fail | 1.00:1Fail |
| Primary Foreground | 1.00:1Fail | 1.07:1Fail | 6.64:1AArequired | 7.60:1AAA |
| Accent Foreground | 1.00:1Fail | 1.07:1Fail | 6.64:1AA | 7.60: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: #fdfaf6;
--surface: #f9f3eb;
--text: #20170c;
--primary: #b4441f;
--primary-foreground: #fdfaf6;
--accent: #0f766e;
--accent-foreground: #fdfaf6;
}
.dark {
--background: #151412;
--surface: #1f1b17;
--text: #eae7e3;
--primary: #ef7a55;
--primary-foreground: #151412;
--accent: #5db5ac;
--accent-foreground: #151412;
}
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: #fdfaf6;
--surface: #f9f3eb;
--text: #20170c;
--primary: #b4441f;
--primary-foreground: #fdfaf6;
--accent: #0f766e;
--accent-foreground: #fdfaf6;
}
.dark {
color-scheme: dark;
--background: #151412;
--surface: #1f1b17;
--text: #eae7e3;
--primary: #ef7a55;
--primary-foreground: #151412;
--accent: #5db5ac;
--accent-foreground: #151412;
}
@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 Polaroid, which shares the Creative topic: text reaches 16.96:1 in light mode against 13.99:1, both use a red primary, and both use a teal accent.
- Compared with Coral Reef, which shares a color: text reaches 16.96:1 in light mode against 13.16:1, both use a red primary, and both use a teal accent.