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.

Get startedNew

Explore 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.

Get startedNew

Explore your palette →

Roles

Five roles and their two foregrounds. Copy the exact HEX values.

RoleLightDark
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.

light mode: foreground rows on background columns
Foreground / BackgroundBackgroundSurfacePrimaryAccent
Text18.09:1AAArequired16.87:1AAArequired4.51:1AA3.33:1AA large
Primary4.01:1UIrequired3.73:1AA large1.00:1Fail1.35:1Fail
Accent5.42:1AA5.06:1AA1.35:1Fail1.00:1Fail
Primary Foreground19.59:1AAA18.26:1AAA4.88:1AArequired3.60:1AA large
Accent Foreground1.00:1Fail1.07:1Fail4.01:1AA large5.42:1AArequired

Dark mode

Scroll the table sideways on a small screen.

dark mode: foreground rows on background columns
Foreground / BackgroundBackgroundSurfacePrimaryAccent
Text14.64:1AAArequired12.59:1AAArequired2.57:1Fail2.36:1Fail
Primary5.68:1AArequired4.88:1AA1.00:1Fail1.08:1Fail
Accent6.18:1AA5.32:1AA1.08:1Fail1.00:1Fail
Primary Foreground1.00:1Fail1.16:1Fail5.68:1AArequired6.18:1AA
Accent Foreground1.00:1Fail1.16:1Fail5.68:1AA6.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.