Colors

Eight tones × eleven shades, built in OKLCH for perceptual uniformity.

How the system works

Colors are built from two independent axes: tones (hue + chroma) and shades (lightness). Theme switching inverts the shade scale automatically — no manual overrides needed.

OKLCH is the source of truth. Hex codes are provided for references.

Defaults

Drag a slider to re-theme this page. The URL updates as you go — copy it to share.

Main tones

base 0.007 chroma · 36° hue

Surface & text. The neutral backbone — backgrounds, borders, muted text.

tinted 0.015 chroma · 36° hue

Warm neutral. Base hue at higher chroma — a cream tint for marketing / docs surfaces, set as the surface tone.

primary 0.13 chroma · 36° hue

Brand accent. Interactive highlights, active states, focus rings.

Semantic tones

danger 0.07 chroma · 8° hue

Destructive actions, errors, validation failures.

warning 0.07 chroma · 76° hue

Caution states, pending actions, degraded status.

success 0.07 chroma · 144° hue

Completed actions, healthy status, confirmations.

info 0.07 chroma · 212° hue

Informational messages, neutral highlights, tips.

help 0.07 chroma · 280° hue

Help text, documentation links, guidance.

Shades

Eleven lightness steps from lightest surface to maximum contrast. In dark mode the scale inverts: 050 becomes the darkest, 950 the lightest.

Page background
Raised surface (panels, cards, nav)
Borders, dividers, hover backgrounds
Input backgrounds, subtle fills
Inactive icons, strong fills (text takes the text roles)
Midpoint — equal in both themes
Secondary text, subtle labels
Body text, active icons
Primary text, headings
High-contrast text, strong emphasis
Maximum contrast

Full palette

Every tone × every shade, with hex and OKLCH for the active dark theme. Click any value to copy.

base 0.007 · 36°
base-050
base-100
base-200
base-300
base-400
base-500
base-600
base-700
base-800
base-900
base-950
tinted 0.015 · 36°
tinted-050
tinted-100
tinted-200
tinted-300
tinted-400
tinted-500
tinted-600
tinted-700
tinted-800
tinted-900
tinted-950
primary 0.13 · 36°
primary-050
primary-100
primary-200
primary-300
primary-400
primary-500
primary-600
primary-700
primary-800
primary-900
primary-950
danger 0.07 · 8°
danger-050
danger-100
danger-200
danger-300
danger-400
danger-500
danger-600
danger-700
danger-800
danger-900
danger-950
warning 0.07 · 76°
warning-050
warning-100
warning-200
warning-300
warning-400
warning-500
warning-600
warning-700
warning-800
warning-900
warning-950
success 0.07 · 144°
success-050
success-100
success-200
success-300
success-400
success-500
success-600
success-700
success-800
success-900
success-950
info 0.07 · 212°
info-050
info-100
info-200
info-300
info-400
info-500
info-600
info-700
info-800
info-900
info-950
help 0.07 · 280°
help-050
help-100
help-200
help-300
help-400
help-500
help-600
help-700
help-800
help-900
help-950

Common pairings

Page background
Card / panel
Border
Body text
Active accent
Error text

Examples

The accent on actions

The primary tone fills the one action that matters; the rest step down to an outline or text.

Status in its tone
Operation completed.
Heads up — review before continuing.
Something went wrong.

Each semantic tone pairs a soft fill with its own ink.

Surfaces a rung apart
base
panel
inset

Base, panel and inset separate on tone alone, with no border.