Palette Library
Flamingo
A pastel palette for travel with a pink primary and a yellow accent. Text reaches 13.40:1 in light mode and 14.66:1 in dark mode.
How to use it
Flamingo's roles on a real interface, with the ratios stored for this palette.
- Light mode: page #fbf7f1, cards #eeedeb, and text #32291a at 13.40:1; buttons #d6336c with #ffffff labels at 4.61:1; highlights #ffd8a8 with #32291a text at 10.65:1.
- Dark mode: page #1e180f, cards #272420, and text #eceae7 at 14.66:1; buttons #f95688 with #1e180f labels at 5.62:1; highlights #ffd8a8 with #1e180f text at 13.11:1.
- Links: #d6336c reaches 4.32:1 on the light page, and #f95688 reaches 5.62:1 on the dark page.
- The accent as text: In light mode, keep #ffd8a8 for fills and badges, not text: it reaches only 1.25: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 | #fbf7f1 | #1e180f |
| Surface | #eeedeb | #272420 |
| Text | #32291a | #eceae7 |
| Primary | #d6336c | #f95688 |
| Primary Foreground | #ffffff | #1e180f |
| Accent | #ffd8a8 | #ffd8a8 |
| Accent Foreground | #32291a | #1e180f |
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.40:1AAArequired | 12.22:1AAArequired | 3.09:1AA large | 10.65:1AAA |
| Primary | 4.32:1UIrequired | 3.94:1AA large | 1.00:1Fail | 3.43:1AA large |
| Accent | 1.25:1Fail | 1.14:1Fail | 3.43:1AA large | 1.00:1Fail |
| Primary Foreground | 1.06:1Fail | 1.16:1Fail | 4.61:1AArequired | 1.34:1Fail |
| Accent Foreground | 13.40:1AAA | 12.22:1AAA | 3.09:1AA large | 10.65:1AAArequired |
Dark mode
Scroll the table sideways on a small screen.
| Foreground / Background | Background | Surface | Primary | Accent |
|---|---|---|---|---|
| Text | 14.66:1AAArequired | 12.86:1AAArequired | 2.60:1Fail | 1.11:1Fail |
| Primary | 5.62:1AArequired | 4.93:1AA | 1.00:1Fail | 2.32:1Fail |
| Accent | 13.11:1AAA | 11.50:1AAA | 2.32:1Fail | 1.00:1Fail |
| Primary Foreground | 1.00:1Fail | 1.13:1Fail | 5.62:1AArequired | 13.11:1AAA |
| Accent Foreground | 1.00:1Fail | 1.13:1Fail | 5.62:1AA | 13.11: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: #fbf7f1;
--surface: #eeedeb;
--text: #32291a;
--primary: #d6336c;
--primary-foreground: #ffffff;
--accent: #ffd8a8;
--accent-foreground: #32291a;
}
.dark {
--background: #1e180f;
--surface: #272420;
--text: #eceae7;
--primary: #f95688;
--primary-foreground: #1e180f;
--accent: #ffd8a8;
--accent-foreground: #1e180f;
}
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: #fbf7f1;
--surface: #eeedeb;
--text: #32291a;
--primary: #d6336c;
--primary-foreground: #ffffff;
--accent: #ffd8a8;
--accent-foreground: #32291a;
}
.dark {
color-scheme: dark;
--background: #1e180f;
--surface: #272420;
--text: #eceae7;
--primary: #f95688;
--primary-foreground: #1e180f;
--accent: #ffd8a8;
--accent-foreground: #1e180f;
}
@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 Silk Road, which shares the Travel topic: text reaches 13.40:1 in light mode against 17.26:1, both use a pink primary, and both use a yellow accent.
- Compared with Deep Sea, which shares the Travel topic: text reaches 13.40:1 in light mode against 15.37:1, the primary is pink where Deep Sea's is blue, and the accent is yellow where Deep Sea's is pink.