Palette Library

Mauve Boutique

A muted palette for luxury with a pink primary and a pink accent. Text reaches 15.73:1 in light mode and 15.49:1 in dark mode.

How to use it

Mauve Boutique's roles on a real interface, with the ratios stored for this palette.

  • Light mode: page #f9fcff, cards #e7f3fd, and text #14222d at 15.73:1; buttons #7d4e6d with #f9fcff labels at 6.40:1; highlights #e8c2ca with #14222d text at 10.02:1.
  • Dark mode: page #04090d, cards #080f15, and text #dfe3e6 at 15.49:1; buttons #c894b5 with #04090d labels at 7.96:1; highlights #e8c2ca with #04090d text at 12.38:1.
  • Links: #7d4e6d reaches 6.40:1 on the light page, and #c894b5 reaches 7.96:1 on the dark page.
  • The accent as text: In light mode, keep #e8c2ca for fills and badges, not text: it reaches only 1.56: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
#f9fcff
#04090d
Surface
#e7f3fd
#080f15
Text
#14222d
#dfe3e6
Primary
#7d4e6d
#c894b5
Primary Foreground
#f9fcff
#04090d
Accent
#e8c2ca
#e8c2ca
Accent Foreground
#14222d
#04090d

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
Text15.73:1AAArequired14.37:1AAArequired2.45:1Fail10.02:1AAA
Primary6.40:1AArequired5.85:1AA1.00:1Fail4.08:1AA large
Accent1.56:1Fail1.43:1Fail4.08:1AA large1.00:1Fail
Primary Foreground1.00:1Fail1.09:1Fail6.40:1AArequired1.56:1Fail
Accent Foreground15.73:1AAA14.37:1AAA2.45:1Fail10.02:1AAArequired

Dark mode

Scroll the table sideways on a small screen.

dark mode: foreground rows on background columns
Foreground / BackgroundBackgroundSurfacePrimaryAccent
Text15.49:1AAArequired14.93:1AAArequired1.94:1Fail1.25:1Fail
Primary7.96:1AAArequired7.67:1AAA1.00:1Fail1.55:1Fail
Accent12.38:1AAA11.93:1AAA1.55:1Fail1.00:1Fail
Primary Foreground1.00:1Fail1.03:1Fail7.96:1AAArequired12.38:1AAA
Accent Foreground1.00:1Fail1.03:1Fail7.96:1AAA12.38: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: #f9fcff;
  --surface: #e7f3fd;
  --text: #14222d;
  --primary: #7d4e6d;
  --primary-foreground: #f9fcff;
  --accent: #e8c2ca;
  --accent-foreground: #14222d;
}

.dark {
  --background: #04090d;
  --surface: #080f15;
  --text: #dfe3e6;
  --primary: #c894b5;
  --primary-foreground: #04090d;
  --accent: #e8c2ca;
  --accent-foreground: #04090d;
}

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: #f9fcff;
  --surface: #e7f3fd;
  --text: #14222d;
  --primary: #7d4e6d;
  --primary-foreground: #f9fcff;
  --accent: #e8c2ca;
  --accent-foreground: #14222d;
}

.dark {
  color-scheme: dark;
  --background: #04090d;
  --surface: #080f15;
  --text: #dfe3e6;
  --primary: #c894b5;
  --primary-foreground: #04090d;
  --accent: #e8c2ca;
  --accent-foreground: #04090d;
}

@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 Velvet Lounge, which shares the Luxury topic: text reaches 15.73:1 in light mode against 14.00:1, both use a pink primary, and the accent is pink where Velvet Lounge's is yellow.
  • Compared with Apothecary, which shares the muted style: text reaches 15.73:1 in light mode against 19.07:1, the primary is pink where Apothecary's is green, and both use a pink accent.