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.

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

light mode: foreground rows on background columns
Foreground / BackgroundBackgroundSurfacePrimaryAccent
Text13.40:1AAArequired12.22:1AAArequired3.09:1AA large10.65:1AAA
Primary4.32:1UIrequired3.94:1AA large1.00:1Fail3.43:1AA large
Accent1.25:1Fail1.14:1Fail3.43:1AA large1.00:1Fail
Primary Foreground1.06:1Fail1.16:1Fail4.61:1AArequired1.34:1Fail
Accent Foreground13.40:1AAA12.22:1AAA3.09:1AA large10.65:1AAArequired

Dark mode

Scroll the table sideways on a small screen.

dark mode: foreground rows on background columns
Foreground / BackgroundBackgroundSurfacePrimaryAccent
Text14.66:1AAArequired12.86:1AAArequired2.60:1Fail1.11:1Fail
Primary5.62:1AArequired4.93:1AA1.00:1Fail2.32:1Fail
Accent13.11:1AAA11.50:1AAA2.32:1Fail1.00:1Fail
Primary Foreground1.00:1Fail1.13:1Fail5.62:1AArequired13.11:1AAA
Accent Foreground1.00:1Fail1.13:1Fail5.62:1AA13.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.