Palette Library
Polaroid
A retro palette for creative with a red primary and a teal accent. Text reaches 13.99:1 in light mode and 14.02:1 in dark mode.
How to use it
Polaroid's roles on a real interface, with the ratios stored for this palette.
- Light mode: page #fef9f3, cards #f8f0e7, and text #2c2822 at 13.99:1; buttons #d1495b with #000000 labels at 4.81:1; highlights #00798c with #fef9f3 text at 4.87:1.
- Dark mode: page #171615, cards #241e17, and text #ede1d2 at 14.02:1; buttons #ef6473 with #171615 labels at 5.80:1; highlights #52b0c4 with #171615 text at 7.19:1.
- Links: #d1495b reaches 4.16:1 on the light page, and #ef6473 reaches 5.80:1 on the dark page.
- The accent as text: #00798c also works as text: 4.87:1 on the light page and 7.19: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 | #fef9f3 | #171615 |
| Surface | #f8f0e7 | #241e17 |
| Text | #2c2822 | #ede1d2 |
| Primary | #d1495b | #ef6473 |
| Primary Foreground | #000000 | #171615 |
| Accent | #00798c | #52b0c4 |
| Accent Foreground | #fef9f3 | #171615 |
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 | 13.99:1AAArequired | 12.97:1AAArequired | 3.35:1AA large | 2.86:1Fail |
| Primary | 4.16:1UIrequired | 3.86:1AA large | 1.00:1Fail | 1.17:1Fail |
| Accent | 4.87:1AA | 4.52:1AA | 1.17:1Fail | 1.00:1Fail |
| Primary Foreground | 20.05:1AAA | 18.60:1AAA | 4.81:1AArequired | 4.11:1AA large |
| Accent Foreground | 1.00:1Fail | 1.07:1Fail | 4.16:1AA large | 4.87:1AArequired |
Dark mode
Scroll the table sideways on a small screen.
| Foreground / Background | Background | Surface | Primary | Accent |
|---|---|---|---|---|
| Text | 14.02:1AAArequired | 12.80:1AAArequired | 2.41:1Fail | 1.94:1Fail |
| Primary | 5.80:1AArequired | 5.29:1AA | 1.00:1Fail | 1.24:1Fail |
| Accent | 7.19:1AAA | 6.57:1AA | 1.24:1Fail | 1.00:1Fail |
| Primary Foreground | 1.00:1Fail | 1.09:1Fail | 5.80:1AArequired | 7.19:1AAA |
| Accent Foreground | 1.00:1Fail | 1.09:1Fail | 5.80:1AA | 7.19: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: #fef9f3;
--surface: #f8f0e7;
--text: #2c2822;
--primary: #d1495b;
--primary-foreground: #000000;
--accent: #00798c;
--accent-foreground: #fef9f3;
}
.dark {
--background: #171615;
--surface: #241e17;
--text: #ede1d2;
--primary: #ef6473;
--primary-foreground: #171615;
--accent: #52b0c4;
--accent-foreground: #171615;
}
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: #fef9f3;
--surface: #f8f0e7;
--text: #2c2822;
--primary: #d1495b;
--primary-foreground: #000000;
--accent: #00798c;
--accent-foreground: #fef9f3;
}
.dark {
color-scheme: dark;
--background: #171615;
--surface: #241e17;
--text: #ede1d2;
--primary: #ef6473;
--primary-foreground: #171615;
--accent: #52b0c4;
--accent-foreground: #171615;
}
@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 13.99:1 in light mode against 16.96:1, both use a red primary, and both use a teal accent.
- Compared with Retro Diner, which shares the retro style: text reaches 13.99:1 in light mode against 17.59:1, both use a red primary, and both use a teal accent.