Palette Library

Terracotta Studio

An earthy palette for creative with a red primary and a teal accent. Text reaches 16.96:1 in light mode and 14.93:1 in dark mode.

How to use it

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

  • Light mode: page #fdfaf6, cards #f9f3eb, and text #20170c at 16.96:1; buttons #b4441f with #fdfaf6 labels at 5.32:1; highlights #0f766e with #fdfaf6 text at 5.25:1.
  • Dark mode: page #151412, cards #1f1b17, and text #eae7e3 at 14.93:1; buttons #ef7a55 with #151412 labels at 6.64:1; highlights #5db5ac with #151412 text at 7.60:1.
  • Links: #b4441f reaches 5.32:1 on the light page, and #ef7a55 reaches 6.64:1 on the dark page.
  • The accent as text: #0f766e also works as text: 5.25:1 on the light page and 7.60: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
#fdfaf6
#151412
Surface
#f9f3eb
#1f1b17
Text
#20170c
#eae7e3
Primary
#b4441f
#ef7a55
Primary Foreground
#fdfaf6
#151412
Accent
#0f766e
#5db5ac
Accent Foreground
#fdfaf6
#151412

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.96:1AAArequired16.01:1AAArequired3.18:1AA large3.22:1AA large
Primary5.32:1AArequired5.02:1AA1.00:1Fail1.01:1Fail
Accent5.25:1AA4.96:1AA1.01:1Fail1.00:1Fail
Primary Foreground1.00:1Fail1.05:1Fail5.32:1AArequired5.25:1AA
Accent Foreground1.00:1Fail1.05:1Fail5.32:1AA5.25:1AArequired

Dark mode

Scroll the table sideways on a small screen.

dark mode: foreground rows on background columns
Foreground / BackgroundBackgroundSurfacePrimaryAccent
Text14.93:1AAArequired13.88:1AAArequired2.24:1Fail1.96:1Fail
Primary6.64:1AArequired6.17:1AA1.00:1Fail1.14:1Fail
Accent7.60:1AAA7.06:1AAA1.14:1Fail1.00:1Fail
Primary Foreground1.00:1Fail1.07:1Fail6.64:1AArequired7.60:1AAA
Accent Foreground1.00:1Fail1.07:1Fail6.64:1AA7.60: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: #fdfaf6;
  --surface: #f9f3eb;
  --text: #20170c;
  --primary: #b4441f;
  --primary-foreground: #fdfaf6;
  --accent: #0f766e;
  --accent-foreground: #fdfaf6;
}

.dark {
  --background: #151412;
  --surface: #1f1b17;
  --text: #eae7e3;
  --primary: #ef7a55;
  --primary-foreground: #151412;
  --accent: #5db5ac;
  --accent-foreground: #151412;
}

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: #fdfaf6;
  --surface: #f9f3eb;
  --text: #20170c;
  --primary: #b4441f;
  --primary-foreground: #fdfaf6;
  --accent: #0f766e;
  --accent-foreground: #fdfaf6;
}

.dark {
  color-scheme: dark;
  --background: #151412;
  --surface: #1f1b17;
  --text: #eae7e3;
  --primary: #ef7a55;
  --primary-foreground: #151412;
  --accent: #5db5ac;
  --accent-foreground: #151412;
}

@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 Polaroid, which shares the Creative topic: text reaches 16.96:1 in light mode against 13.99:1, both use a red primary, and both use a teal accent.
  • Compared with Coral Reef, which shares a color: text reaches 16.96:1 in light mode against 13.16:1, both use a red primary, and both use a teal accent.