Palette Library
Boutique
An elegant palette for ecommerce with a pink primary and an orange accent. Text reaches 15.84:1 in light mode and 15.61:1 in dark mode.
How to use it
Boutique's roles on a real interface, with the ratios stored for this palette.
- Light mode: page #f7f5f5, cards #e7e5e6, and text #24181a at 15.84:1; buttons #9d174d with #f7f5f5 labels at 7.25:1; highlights #e7c6a5 with #24181a text at 10.66:1.
- Dark mode: page #181314, cards #261c1e, and text #f1ebec at 15.61:1; buttons #fe769e with #181314 labels at 7.26:1; highlights #e7c6a5 with #181314 text at 11.39:1.
- Links: #9d174d reaches 7.25:1 on the light page, and #fe769e reaches 7.26:1 on the dark page.
- The accent as text: In light mode, keep #e7c6a5 for fills and badges, not text: it reaches only 1.48: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 | #f7f5f5 | #181314 |
| Surface | #e7e5e6 | #261c1e |
| Text | #24181a | #f1ebec |
| Primary | #9d174d | #fe769e |
| Primary Foreground | #f7f5f5 | #181314 |
| Accent | #e7c6a5 | #e7c6a5 |
| Accent Foreground | #24181a | #181314 |
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 | 15.84:1AAArequired | 13.72:1AAArequired | 2.18:1Fail | 10.66:1AAA |
| Primary | 7.25:1AAArequired | 6.28:1AA | 1.00:1Fail | 4.88:1AA |
| Accent | 1.48:1Fail | 1.28:1Fail | 4.88:1AA | 1.00:1Fail |
| Primary Foreground | 1.00:1Fail | 1.15:1Fail | 7.25:1AAArequired | 1.48:1Fail |
| Accent Foreground | 15.84:1AAA | 13.72:1AAA | 2.18:1Fail | 10.66:1AAArequired |
Dark mode
Scroll the table sideways on a small screen.
| Foreground / Background | Background | Surface | Primary | Accent |
|---|---|---|---|---|
| Text | 15.61:1AAArequired | 14.07:1AAArequired | 2.14:1Fail | 1.36:1Fail |
| Primary | 7.26:1AAArequired | 6.54:1AA | 1.00:1Fail | 1.56:1Fail |
| Accent | 11.39:1AAA | 10.27:1AAA | 1.56:1Fail | 1.00:1Fail |
| Primary Foreground | 1.00:1Fail | 1.10:1Fail | 7.26:1AAArequired | 11.39:1AAA |
| Accent Foreground | 1.00:1Fail | 1.10:1Fail | 7.26:1AAA | 11.39: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: #f7f5f5;
--surface: #e7e5e6;
--text: #24181a;
--primary: #9d174d;
--primary-foreground: #f7f5f5;
--accent: #e7c6a5;
--accent-foreground: #24181a;
}
.dark {
--background: #181314;
--surface: #261c1e;
--text: #f1ebec;
--primary: #fe769e;
--primary-foreground: #181314;
--accent: #e7c6a5;
--accent-foreground: #181314;
}
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: #f7f5f5;
--surface: #e7e5e6;
--text: #24181a;
--primary: #9d174d;
--primary-foreground: #f7f5f5;
--accent: #e7c6a5;
--accent-foreground: #24181a;
}
.dark {
color-scheme: dark;
--background: #181314;
--surface: #261c1e;
--text: #f1ebec;
--primary: #fe769e;
--primary-foreground: #181314;
--accent: #e7c6a5;
--accent-foreground: #181314;
}
@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 Midnight Orchid, which shares the elegant style: text reaches 15.84:1 in light mode against 13.15:1, the primary is pink where Midnight Orchid's is purple, and the accent is orange where Midnight Orchid's is pink.
- Compared with Velvet Lounge, which shares the elegant style: text reaches 15.84:1 in light mode against 14.00:1, both use a pink primary, and the accent is orange where Velvet Lounge's is yellow.