Color Architecture

The palette is organized into these color families (no Secondary, Tertiary, or Quaternary scales):

Primary Colors (Zinc)

The primary palette provides 12 steps from near-white to near-black:

TokenShadeTypical Usage
primary-25Lightest tintSubtle backgrounds
primary-50Very lightHover states on light backgrounds
primary-100LightSecondary backgrounds
primary-200SoftBorders, dividers on light backgrounds
primary-300Medium-lightDisabled states
primary-400MediumPlaceholder text
primary-500BaseIcons, secondary text
primary-600Medium-darkBody text alternative
primary-700DarkHeadings, primary text
primary-800Very darkHigh emphasis text
primary-900DarkerDark backgrounds
primary-950DarkestHighest contrast backgrounds

Neutral Colors

The neutral palette provides pure grayscale values:

TokenShadeTypical Usage
neutral-0White (#FFFFFF)Page background (light mode)
neutral-50Near-whiteCard backgrounds, subtle surfaces
neutral-100Very light graySection backgrounds
neutral-200Light grayBorders, dividers
neutral-300GrayDisabled borders
neutral-400Medium gray (#666666)Muted UI text that still meets ~4.5:1 on the default body background; prefer neutral-600+ for small body copy
neutral-500Mid graySecondary text, icons
neutral-600Dark grayBody text, fine print, disclaimers
neutral-700Darker grayDefault body text
neutral-800Very dark grayHeadings (default)
neutral-900Near-blackPrimary text
neutral-950Darkest (#0a0a0a)Page background (dark mode)

Info Colors (Blue)

Informational accents and status. Ships only info-100, info-500, and info-600.

Success Colors (Green)

Used for positive feedback, confirmation states, and success indicators:

TokenShadeTypical Usage
success-100LightSuccess alert / badge backgrounds
success-500BasePrimary success indicators
success-600DarkSuccess text / high emphasis on light backgrounds

Success ships only success-100, success-500, and success-600.

Warning Colors (Orange)

Used for cautionary states, important notices, and attention elements:

TokenShadeTypical Usage
warning-100LightWarning alert / badge backgrounds
warning-500BasePrimary warning indicators
warning-600DarkWarning text / high emphasis on light backgrounds

Warning ships only warning-100, warning-500, and warning-600.

Error Colors (Red)

Used for error states, destructive actions, and critical alerts:

TokenShadeTypical Usage
error-100LightError alert / badge backgrounds
error-500BasePrimary error indicators
error-600DarkError text / high emphasis on light backgrounds

Error ships only error-100, error-500, and error-600.

Utility Colors

Additional colors used for specific interface needs:

TokenValueUsage
transparenttransparentTransparent backgrounds / overlays
currentcurrentColorInherits parent text color
inheritinheritInherits parent color
shadowrgba shadow tokenShared shadow tint

Using Colors in the Editor

Block Color Settings

Most blocks expose color settings in the right sidebar:

Apply palette colors from a block’s Color panel.

  1. Select a block.
  2. Open the Color section in block settings.
  3. Choose from the palette presets or enter a custom value.

Available color options vary by block but typically include:

Global Color Settings

To change colors site-wide, use Global Styles:

Change site-wide colors in Styles → Colors.

  1. Open the Site Editor (Appearance → Editor).
  2. Click the Styles icon.
  3. Navigate to Colors.
  4. Set colors for elements (background, text, links, headings, buttons).

See Global Styles for detailed instructions.

CSS Custom Properties

All colors are available as CSS custom properties following the WordPress preset naming convention:

Copied!
CSS
var(--wp--preset--color--primary-500)var(--wp--preset--color--neutral-200)var(--wp--preset--color--info-500)var(--wp--preset--color--success-600)var(--wp--preset--color--warning-500)var(--wp--preset--color--error-500)

See CSS Variables Reference for the complete list of CSS custom properties.

Dark Mode Color Mapping

In dark mode, the color scale effectively inverts. Light shades become backgrounds and dark shades become foregrounds:

UsageLight Mode TokenDark Mode Token
Page backgroundneutral-0neutral-950
Card backgroundneutral-50neutral-900
Borderneutral-200neutral-700
Body textneutral-700neutral-200
Heading textneutral-800neutral-100

See Dark Mode for complete dark mode documentation.

Contrast and Accessibility

The palette is tuned so default body text and interactive tokens can meet WCAG 2.2 AA contrast when used as documented:

Custom cover images, gradients, and editor-chosen colors still need a contrast check (WebAIM Contrast Checker or similar). See Accessibility.

Next Steps