Palette Library
Rosewood
An elegant palette for luxury with a red primary and an orange accent. Text reaches 13.06:1 in light mode and 16.01:1 in dark mode.
How to use it
Rosewood's roles on a real interface, with the ratios stored for this palette.
- Light mode: page #f8f6f5, cards #f7eee6, and text #36291d at 13.06:1; buttons #7f1d1d with #f8f6f5 labels at 9.30:1; highlights #d6a77a with #36291d text at 6.48:1.
- Dark mode: page #120f0c, cards #1c1b1b, and text #f0eae5 at 16.01:1; buttons #fb8e85 with #120f0c labels at 8.46:1; highlights #c29468 with #120f0c text at 7.03:1.
- Links: #7f1d1d reaches 9.30:1 on the light page, and #fb8e85 reaches 8.46:1 on the dark page.
- The accent as text: In light mode, keep #d6a77a for fills and badges, not text: it reaches only 2.01: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 | #f8f6f5 | #120f0c |
| Surface | #f7eee6 | #1c1b1b |
| Text | #36291d | #f0eae5 |
| Primary | #7f1d1d | #fb8e85 |
| Primary Foreground | #f8f6f5 | #120f0c |
| Accent | #d6a77a | #c29468 |
| Accent Foreground | #36291d | #120f0c |
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.06:1AAArequired | 12.28:1AAArequired | 1.40:1Fail | 6.48:1AA |
| Primary | 9.30:1AAArequired | 8.74:1AAA | 1.00:1Fail | 4.61:1AA |
| Accent | 2.01:1Fail | 1.89:1Fail | 4.61:1AA | 1.00:1Fail |
| Primary Foreground | 1.00:1Fail | 1.06:1Fail | 9.30:1AAArequired | 2.01:1Fail |
| Accent Foreground | 13.06:1AAA | 12.28:1AAA | 1.40:1Fail | 6.48:1AArequired |
Dark mode
Scroll the table sideways on a small screen.
| Foreground / Background | Background | Surface | Primary | Accent |
|---|---|---|---|---|
| Text | 16.01:1AAArequired | 14.40:1AAArequired | 1.89:1Fail | 2.27:1Fail |
| Primary | 8.46:1AAArequired | 7.61:1AAA | 1.00:1Fail | 1.20:1Fail |
| Accent | 7.03:1AAA | 6.32:1AA | 1.20:1Fail | 1.00:1Fail |
| Primary Foreground | 1.00:1Fail | 1.11:1Fail | 8.46:1AAArequired | 7.03:1AAA |
| Accent Foreground | 1.00:1Fail | 1.11:1Fail | 8.46:1AAA | 7.03: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: #f8f6f5;
--surface: #f7eee6;
--text: #36291d;
--primary: #7f1d1d;
--primary-foreground: #f8f6f5;
--accent: #d6a77a;
--accent-foreground: #36291d;
}
.dark {
--background: #120f0c;
--surface: #1c1b1b;
--text: #f0eae5;
--primary: #fb8e85;
--primary-foreground: #120f0c;
--accent: #c29468;
--accent-foreground: #120f0c;
}
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: #f8f6f5;
--surface: #f7eee6;
--text: #36291d;
--primary: #7f1d1d;
--primary-foreground: #f8f6f5;
--accent: #d6a77a;
--accent-foreground: #36291d;
}
.dark {
color-scheme: dark;
--background: #120f0c;
--surface: #1c1b1b;
--text: #f0eae5;
--primary: #fb8e85;
--primary-foreground: #120f0c;
--accent: #c29468;
--accent-foreground: #120f0c;
}
@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 Champagne, which shares the elegant style: text reaches 13.06:1 in light mode against 16.66:1, the primary is red where Champagne's is brown, and both use a orange accent.
- Compared with Velvet Lounge, which shares the elegant style: text reaches 13.06:1 in light mode against 14.00:1, the primary is red where Velvet Lounge's is pink, and the accent is orange where Velvet Lounge's is yellow.