Palette Library
Clay Pot
A muted palette for creative with a red primary and a yellow accent. Text reaches 16.91:1 in light mode and 16.54:1 in dark mode.
How to use it
Clay Pot's roles on a real interface, with the ratios stored for this palette.
- Light mode: page #fbfafa, cards #f6f3f2, and text #1f1715 at 16.91:1; buttons #a44a3f with #fbfafa labels at 5.55:1; highlights #d4c5a9 with #1f1715 text at 10.37:1.
- Dark mode: page #190e0c, cards #221817, and text #f2efee at 16.54:1; buttons #e48375 with #190e0c labels at 7.03:1; highlights #d4c5a9 with #190e0c text at 11.13:1.
- Links: #a44a3f reaches 5.55:1 on the light page, and #e48375 reaches 7.03:1 on the dark page.
- The accent as text: In light mode, keep #d4c5a9 for fills and badges, not text: it reaches only 1.63: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 | #fbfafa | #190e0c |
| Surface | #f6f3f2 | #221817 |
| Text | #1f1715 | #f2efee |
| Primary | #a44a3f | #e48375 |
| Primary Foreground | #fbfafa | #190e0c |
| Accent | #d4c5a9 | #d4c5a9 |
| Accent Foreground | #1f1715 | #190e0c |
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.91:1AAArequired | 15.96:1AAArequired | 3.04:1AA large | 10.37:1AAA |
| Primary | 5.55:1AArequired | 5.24:1AA | 1.00:1Fail | 3.40:1AA large |
| Accent | 1.63:1Fail | 1.53:1Fail | 3.40:1AA large | 1.00:1Fail |
| Primary Foreground | 1.00:1Fail | 1.05:1Fail | 5.55:1AArequired | 1.63:1Fail |
| Accent Foreground | 16.91:1AAA | 15.96:1AAA | 3.04:1AA large | 10.37:1AAArequired |
Dark mode
Scroll the table sideways on a small screen.
| Foreground / Background | Background | Surface | Primary | Accent |
|---|---|---|---|---|
| Text | 16.54:1AAArequired | 15.15:1AAArequired | 2.35:1Fail | 1.48:1Fail |
| Primary | 7.03:1AAArequired | 6.44:1AA | 1.00:1Fail | 1.58:1Fail |
| Accent | 11.13:1AAA | 10.20:1AAA | 1.58:1Fail | 1.00:1Fail |
| Primary Foreground | 1.00:1Fail | 1.09:1Fail | 7.03:1AAArequired | 11.13:1AAA |
| Accent Foreground | 1.00:1Fail | 1.09:1Fail | 7.03:1AAA | 11.13: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: #fbfafa;
--surface: #f6f3f2;
--text: #1f1715;
--primary: #a44a3f;
--primary-foreground: #fbfafa;
--accent: #d4c5a9;
--accent-foreground: #1f1715;
}
.dark {
--background: #190e0c;
--surface: #221817;
--text: #f2efee;
--primary: #e48375;
--primary-foreground: #190e0c;
--accent: #d4c5a9;
--accent-foreground: #190e0c;
}
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: #fbfafa;
--surface: #f6f3f2;
--text: #1f1715;
--primary: #a44a3f;
--primary-foreground: #fbfafa;
--accent: #d4c5a9;
--accent-foreground: #1f1715;
}
.dark {
color-scheme: dark;
--background: #190e0c;
--surface: #221817;
--text: #f2efee;
--primary: #e48375;
--primary-foreground: #190e0c;
--accent: #d4c5a9;
--accent-foreground: #190e0c;
}
@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 Terracotta Studio, which shares the Creative topic: text reaches 16.91:1 in light mode against 16.96:1, both use a red primary, and the accent is yellow where Terracotta Studio's is teal.
- Compared with Sunrise Cafe, which shares a color: text reaches 16.91:1 in light mode against 15.28:1, both use a red primary, and both use a yellow accent.