Palette Library

Clay Pot

A muted palette for creative with a red primary and a yellow accent. Text reaches 16.91:1 in light mode and 16.54:1 in dark mode.

How to use it

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

  • Light mode: page #fbfafa, cards #f6f3f2, and text #1f1715 at 16.91:1; buttons #a44a3f with #fbfafa labels at 5.55:1; highlights #d4c5a9 with #1f1715 text at 10.37:1.
  • Dark mode: page #190e0c, cards #221817, and text #f2efee at 16.54:1; buttons #e48375 with #190e0c labels at 7.03:1; highlights #d4c5a9 with #190e0c text at 11.13:1.
  • Links: #a44a3f reaches 5.55:1 on the light page, and #e48375 reaches 7.03:1 on the dark page.
  • The accent as text: In light mode, keep #d4c5a9 for fills and badges, not text: it reaches only 1.63: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
#fbfafa
#190e0c
Surface
#f6f3f2
#221817
Text
#1f1715
#f2efee
Primary
#a44a3f
#e48375
Primary Foreground
#fbfafa
#190e0c
Accent
#d4c5a9
#d4c5a9
Accent Foreground
#1f1715
#190e0c

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
Text16.91:1AAArequired15.96:1AAArequired3.04:1AA large10.37:1AAA
Primary5.55:1AArequired5.24:1AA1.00:1Fail3.40:1AA large
Accent1.63:1Fail1.53:1Fail3.40:1AA large1.00:1Fail
Primary Foreground1.00:1Fail1.05:1Fail5.55:1AArequired1.63:1Fail
Accent Foreground16.91:1AAA15.96:1AAA3.04:1AA large10.37:1AAArequired

Dark mode

Scroll the table sideways on a small screen.

dark mode: foreground rows on background columns
Foreground / BackgroundBackgroundSurfacePrimaryAccent
Text16.54:1AAArequired15.15:1AAArequired2.35:1Fail1.48:1Fail
Primary7.03:1AAArequired6.44:1AA1.00:1Fail1.58:1Fail
Accent11.13:1AAA10.20:1AAA1.58:1Fail1.00:1Fail
Primary Foreground1.00:1Fail1.09:1Fail7.03:1AAArequired11.13:1AAA
Accent Foreground1.00:1Fail1.09:1Fail7.03:1AAA11.13: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: #fbfafa;
  --surface: #f6f3f2;
  --text: #1f1715;
  --primary: #a44a3f;
  --primary-foreground: #fbfafa;
  --accent: #d4c5a9;
  --accent-foreground: #1f1715;
}

.dark {
  --background: #190e0c;
  --surface: #221817;
  --text: #f2efee;
  --primary: #e48375;
  --primary-foreground: #190e0c;
  --accent: #d4c5a9;
  --accent-foreground: #190e0c;
}

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: #fbfafa;
  --surface: #f6f3f2;
  --text: #1f1715;
  --primary: #a44a3f;
  --primary-foreground: #fbfafa;
  --accent: #d4c5a9;
  --accent-foreground: #1f1715;
}

.dark {
  color-scheme: dark;
  --background: #190e0c;
  --surface: #221817;
  --text: #f2efee;
  --primary: #e48375;
  --primary-foreground: #190e0c;
  --accent: #d4c5a9;
  --accent-foreground: #190e0c;
}

@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 Terracotta Studio, which shares the Creative topic: text reaches 16.91:1 in light mode against 16.96:1, both use a red primary, and the accent is yellow where Terracotta Studio's is teal.
  • Compared with Sunrise Cafe, which shares a color: text reaches 16.91:1 in light mode against 15.28:1, both use a red primary, and both use a yellow accent.