Palette Library
Sunset Strip
A vibrant palette for travel with a red primary and a purple accent. Text reaches 18.09:1 in light mode and 14.64:1 in dark mode.
How to use it
Sunset Strip's roles on a real interface, with the ratios stored for this palette.
- Light mode: page #fbf6f4, cards #fbece8, and text #170a06 at 18.09:1; buttons #d9480f with #000000 labels at 4.88:1; highlights #9c36b5 with #fbf6f4 text at 5.42:1.
- Dark mode: page #1a1818, cards #2f231f, and text #f8e6e1 at 14.64:1; buttons #f66333 with #1a1818 labels at 5.68:1; highlights #d56fef with #1a1818 text at 6.18:1.
- Links: #d9480f reaches 4.01:1 on the light page, and #f66333 reaches 5.68:1 on the dark page.
- The accent as text: #9c36b5 also works as text: 5.42:1 on the light page and 6.18: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 | #fbf6f4 | #1a1818 |
| Surface | #fbece8 | #2f231f |
| Text | #170a06 | #f8e6e1 |
| Primary | #d9480f | #f66333 |
| Primary Foreground | #000000 | #1a1818 |
| Accent | #9c36b5 | #d56fef |
| Accent Foreground | #fbf6f4 | #1a1818 |
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 | 18.09:1AAArequired | 16.87:1AAArequired | 4.51:1AA | 3.33:1AA large |
| Primary | 4.01:1UIrequired | 3.73:1AA large | 1.00:1Fail | 1.35:1Fail |
| Accent | 5.42:1AA | 5.06:1AA | 1.35:1Fail | 1.00:1Fail |
| Primary Foreground | 19.59:1AAA | 18.26:1AAA | 4.88:1AArequired | 3.60:1AA large |
| Accent Foreground | 1.00:1Fail | 1.07:1Fail | 4.01:1AA large | 5.42:1AArequired |
Dark mode
Scroll the table sideways on a small screen.
| Foreground / Background | Background | Surface | Primary | Accent |
|---|---|---|---|---|
| Text | 14.64:1AAArequired | 12.59:1AAArequired | 2.57:1Fail | 2.36:1Fail |
| Primary | 5.68:1AArequired | 4.88:1AA | 1.00:1Fail | 1.08:1Fail |
| Accent | 6.18:1AA | 5.32:1AA | 1.08:1Fail | 1.00:1Fail |
| Primary Foreground | 1.00:1Fail | 1.16:1Fail | 5.68:1AArequired | 6.18:1AA |
| Accent Foreground | 1.00:1Fail | 1.16:1Fail | 5.68:1AA | 6.18:1AArequired |
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: #fbf6f4;
--surface: #fbece8;
--text: #170a06;
--primary: #d9480f;
--primary-foreground: #000000;
--accent: #9c36b5;
--accent-foreground: #fbf6f4;
}
.dark {
--background: #1a1818;
--surface: #2f231f;
--text: #f8e6e1;
--primary: #f66333;
--primary-foreground: #1a1818;
--accent: #d56fef;
--accent-foreground: #1a1818;
}
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: #fbf6f4;
--surface: #fbece8;
--text: #170a06;
--primary: #d9480f;
--primary-foreground: #000000;
--accent: #9c36b5;
--accent-foreground: #fbf6f4;
}
.dark {
color-scheme: dark;
--background: #1a1818;
--surface: #2f231f;
--text: #f8e6e1;
--primary: #f66333;
--primary-foreground: #1a1818;
--accent: #d56fef;
--accent-foreground: #1a1818;
}
@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 Coral Reef, which shares the vibrant style: text reaches 18.09:1 in light mode against 13.16:1, both use a red primary, and the accent is purple where Coral Reef's is teal.
- Compared with Spark, which shares the vibrant style: text reaches 18.09:1 in light mode against 15.91:1, both use a red primary, and both use a purple accent.