Skip to content

Sonora Palette

Near-black surfaces three steps deep, cream text, and one cream button. Every border and every hover is white at low alpha, and the only color in the frame is whatever the artwork brings.

Surfaces and elevation

3 surfaces are in use, from the page up; 2 more continue the same ramp. A level is where a component sits, not where its gray sorts — which is why the dialog and the menu are not on the rungs you would guess. Hover and selected are underneath, on their own, because neither is a level.

Observed — the value was measured in use.Inferred — a real value whose role is a reading.

  1. E0Pagebackground-primary → dumbo-50The ground everything stands on. Navigation shares it rather than sitting above it.PageSidebarSticky headerObserved
  2. E1Panelbackground-secondary → dumbo-100A region that stays put while the page moves, or that takes the page over.Player barSearch fieldDialogObserved
  3. E2Raisedbackground-tertiary → dumbo-150Whatever opens over a panel, and any control that needs a body of its own.MenuNeutral buttonControls in a dialogObserved
  4. E3Step abovedumbo-200The next step of the same ramp. It has no role name and no component assigned to it.Inferred
  5. E4Step abovedumbo-250The step after that, on the same terms. Reach for these two only for something that must sit on a menu.Inferred
E0 · Page#101012
E1 · Panel#1C1C1F
E2 · Raised#252529
E3 · Step above#2E2E33
E4 · Step above#38383E

Where components sit

NavigationE0Same color as the page. A 1px line at white 15% is the only thing that separates it.Observed
CardsNoneNo surface. A media card is artwork with two lines of text under it, straight on the page. A bordered card is a 4% white wash with a 10% white outline, 24px radius.Observed
PanelsE1Flat, edge to edge, a hairline on top. The search field is the same color at 85% with an 8px blur.Observed
DropdownsE28px radius, shadow 0 8px 16px at black 15%, separators at white 10%.Observed
ModalsE132px radius, a 1px outline at white 8%, no shadow, over a scrim of black at 60%.Observed

States are layers, not levels

Hover
Hover
One layer for every hover, on any surface. On the cream button it is black at 4% instead.
Selected
Selected
The current navigation row. The label also steps up from muted to primary — two signals, not one.
Focus
Focus
A 2px outline in the text color, on anything that takes keyboard focus.
Disabled
Disabled
The raised surface with the dimmest text. It reads as present and unavailable rather than as missing.

Core palette

What goes on those surfaces, in three groups: the text, the lines, and the handful of colors that mean something. Each has its role name, the token behind it, and what it is for. Surfaces are not repeated here.

Foregrounds

AaPrimaryfg-primary
Body text, headings, the current navigation row. Cream, not white — and #fcfbf9, one step lighter, on menus and dialogs.foreground-primary → dumbo-90017.3:1 on E0Observed
AaSecondaryfg-secondary
Tab labels at rest and supporting copy. Placeholders are this at 40%.foreground-secondary → dumbo-70010.7:1 on E0Observed
AaMutedfg-muted
Navigation rows that are not current, bylines, counts.foreground-tertiary → dumbo-6007.5:1 on E0Observed
AaDisabledfg-disabled
Text on a control that cannot be used.foreground-inactive → dumbo-4503.5:1 on E0Observed

Borders

Subtleborder-subtle
Separators inside a menu, the outline of a secondary button, the edge of a card.border-primary → opacity-white-10#28282A on E0Observed
Defaultborder-default
A line between two regions of the page.border-secondary → opacity-white-15#343436 on E0Observed
Strongborder-strong
The outline of a text field — the one border that has to be found before it can be used.#585859 on E0Observed
Focusborder-focus
The focus outline. The same value as primary text.border-focus → dumbo-900Observed

Semantic colors

Successsuccess
A progress bar that finished.accent-success → grass-5006.4:1 on E0Observed
Warningwarning
A progress bar running out of room.accent-warning → dandelion-70013.4:1 on E0Observed
Errorerror
Destructive menu items, an error count, a failed progress bar.accent-error → vermilion-5005.3:1 on E0Observed
Informationinfo
There is no named information role. This is the blue that tints notices, at 10–20%.accent-blue → dodger-blue-6005.6:1 on E0Inferred

Interface elements

The standard controls — buttons, fields, navigation rows, a menu and a dialog — assembled from the two sections above and nothing else.

Buttons

Primary#F7F4EFSecondaryNo fill · white · 10% edgeNeutral#252529GhostNo fillDisabled#252529 · #6A6A72

Fields

SearchPlaceholderFocused
A search field is a filled pill on E1. A form field is an outline in the strong border, and focus is the outline around it.

Navigation rows

At restUnder the pointerCurrent page
The current row changes twice — a layer under it and a brighter label — so it does not rest on a faint difference in gray alone.

Menu · E2

HelpAboutDelete
8px radius, shadow 0 8px 16px at black 15%, separators at white 10%.

Dialog · E1

TitleA choiceConfirm
32px radius, a 1px outline at white 8%, no shadow, over a scrim of black at 60%.

Corners

ButtonPill, or 6pxField10px; search is a pillMenu8pxCard24pxDialog32px

Contrast

Each text color against each surface it is set on, and each button label against its own fill. The theme has already chosen its surfaces, so these are the only ratios a reader will ever meet.

TextOn E0 · PageOn E1 · PanelOn E2 · Raised
Primary#f7f4efAa17.32AAAAa15.50AAAAa13.92AAA
Secondary#c2c2c1Aa10.66AAAAa9.54AAAAa8.57AAA
Muted#a3a3a3Aa7.53AAAAa6.74AAAa6.05AA
Disabled#6a6a72Aa3.55AA LargeAa3.17AA LargeAa2.85Exempt
Primary button label#101012 on #f7f4efAa17.32AAA
Neutral button label#f7f4ef on #252529Aa13.92AAA

Decorative colors and special effects

Shut by default. 9 treatments used now and then — a promotional button, an indicator, glass over artwork — grouped by the job each does. They are kept out of the way so they are not mistaken for the theme.

Decorative colors and special effects9 entries · not the theme

The promotional button

The one control that is not neutral. It appears where the product is asking for something: Create, Subscribe, Continue.
AuraAn image, white labelAn image of a gradient rather than a CSS one. Drawn here from the orange, pink and red ramps as a stand-in.variant-aura

Indicators

The brand accent, used a few pixels at a time.
Brand accent#fd429cA notification dot, a count badge, the fill of a progress bar at rest.accent-brand → strawberry-600

Category tints

Behind a label or a badge at 10–20%, never as a fill. The four status colors and the brand pink are used the same way.
Orange#ff6a00A tint behind a tag.accent-orange → pumpkin-500
Green#02d95cA tint behind a tag. Not the success color, which is the duller grass.accent-green → slime-600
Purple#8b6efeA tint behind a tag.accent-purple → amethyst-600

Glass

Surfaces that sit on artwork instead of on the page. Each is a translucent fill with a blur behind it.
Sticky headerPage at 60%, blur 24pxThe landing page’s header once content scrolls under it.
FrostedWhite 10%, blur 16pxA control on a photograph. White 30% under the pointer.background-fog-thick
SmokedPanel at 40%, blur 16pxThe same, where the photograph is light. 60% under the pointer.background-smoke-thick
Chip on artworkPage at 25%, blur 15pxPlay and like counts laid over a cover, with a white 10% outline.

Raw tokens

Shut by default. The 10 ramps the roles above are drawn from. 9 of them are hues, and the sections above take a status color from 4 of those. The rest are here for reference.

Raw tokens13 ramps · 129 values

Every ramp behind the roles above. Click a step to copy it. This is reference, not guidance: a color being here says only that it exists.

dumbo50–950The neutral. Every surface, every text color and the primary button come from this one ramp.
strawberry100–900
vermilion100–900
pumpkin100–900
dandelion100–900
grass100–900
slime100–900
dodger-blue100–900
amethyst100–900
brown100–900
opacity-white4–90Borders, hovers and frosted glass.
opacity-black4–90Scrims and shadows.
opacity-gray4–90Smoked glass: the panel color, thinned.
The 20 swatches

The same ramps as a swatch grid, hues in pairs.

Strawberry 600#fd429cVermilion 500#f8441bPumpkin 500#ff6a00Dandelion 700#f5d907Grass 500#4aab04Strawberry 500#de1677Vermilion 400#c32906Pumpkin 400#bc4e00Dandelion 600#d4bb06Grass 400#3d8d03Slime 600#02d95cDodger Blue 600#1f8bffAmethyst 600#8b6efeDumbo 900#f7f4efDumbo 600#a3a3a3Slime 500#02af4aDodger Blue 500#0071eaAmethyst 500#7251f7Dumbo 850#edeae4Dumbo 150#252529

Left out on purpose: two extra steps of dandelion (850 and 950), and third-party brand colors used only on share buttons.

Do

Primary
Fill the primary button with the primary fillThe primary button is #F7F4EF with #101012 on it. It is the one thing on a screen the eye is sent to, whatever else there is a ramp for.
Under the pointer
Raise with the next surface, mark state with a layerA menu is on a higher surface because it is a different object, over the thing it opened from. A hovered row is the same object, so it stays where it is and takes a translucent layer. Keeping the two apart is what stops a hover from looking like a popup.
Put a component on the level it belongs toE0 is page and sidebar, E1 is player bar and search field and E2 is menu and neutral button. Choose the level by what the component is, not by which gray looks right beside it.

Don't

Primary
Do not promote a color because it has a ramp9 hue ramps are in the raw tokens, and 0 of 17 interface roles carry a hue. A ramp is inventory. The theme is what the roles are painted with.
Under the pointer
Do not use a surface as a hoverLifting a row to the next level under the pointer spends a rung of a short ladder on something that lasts a second, and makes every hovered row look like the start of a menu.
Do not bring decorative color into the chromeThe treatments in the collapsed section are for one button and a few badges. On a surface, a border or body text they stop being an accent, and the interface stops being this theme.

Accessibility

Not a checklist to run at the end. These are the requirements the component was built from.

1.4.1Use of ColorA1.4.3Contrast (Minimum)AA1.4.11Non-text ContrastAA2.4.7Focus VisibleAA

Contrast

  • Primary text is 17.3:1 on E0, 15.5:1 on E1, 13.9:1 on E2. It clears 7:1 on every surface it is used on, so nothing has to be re-checked when a component moves up a level.
  • Muted text is 7.5:1 on E0, 6.7:1 on E1, 6.1:1 on E2 — the lowest of the three that carry reading text, and the one to watch on the higher surfaces.
  • Button labels against their own fills: primary 17.3:1, neutral 13.9:1.
  • Borders drawn at low alpha are separators, not boundaries of a control: they sit well under 3:1 and are not asked to carry meaning. A field’s outline is the exception, and it is the strongest line on the sheet for that reason.

Keyboard

TabMoves through every value on the sheet; each one is a button that copies itself.
Enter / SpaceCopies the focused value, or opens and closes a collapsed section.
⌘IInspector Mode reports the live contrast of anything on this page.

Screen readers

  • Observed and Inferred are words as well as a filled and a hollow dot, so the distinction is read and survives grayscale.
  • Every state on this sheet is described by what changes — a layer, a label, an outline — because "selected" announced by color alone is selected for nobody who cannot see it.

Focus & touch

  • Copyable values take a ring in their own text color, offset outward, because they sit on the theme’s surfaces rather than ours and our ring color was not chosen for them.
  • Ramp steps in the raw section are 28px tall and are a reference, not a control surface; on a phone, copy from the role rows above, which are full-width.
AttributeApplied toNotes
<details> / <summary>Decorative and Raw tokensNative disclosure: announced as collapsed or expanded without any ARIA of ours, and operable before a script has run.
aria-labelEach ramp stepA swatch announces as nothing. The label carries the ramp, the step and the value.

Code

Example usage

How the roles combine: a surface, text on it, a line around it, and state as a layer.

css
1/* Stand it on a surface, write on it with a foreground, rule it with a border.2   A state is a layer over whatever is already there — never the next surface. */3.card {4  background: var(--sonora-surface-1);5  color: var(--sonora-fg-primary);6  border: 1px solid var(--sonora-border-subtle);7}89.row { color: var(--sonora-fg-muted); }10.row:hover { background: var(--sonora-state-hover); }11.row[aria-current='page'] {12  background: var(--sonora-state-selected);13  color: var(--sonora-fg-primary);14}1516:focus-visible {17  outline: 2px solid var(--sonora-state-focus);18  outline-offset: 2px;19}

CSS

The theme as custom properties. Roles point at primitives, so a value is written once; only the primitives a role uses are included.

css
/* Sonora Palette — the theme as custom properties.
   Roles reference primitives; a value is written once. */
:root {
  /* primitives — the ramp steps this theme uses */
  --sonora-dumbo-50: #101012;
  --sonora-dumbo-100: #1c1c1f;
  --sonora-dumbo-150: #252529;
  --sonora-dumbo-200: #2e2e33;
  --sonora-dumbo-250: #38383e;
  --sonora-dumbo-450: #6a6a72;
  --sonora-dumbo-600: #a3a3a3;
  --sonora-dumbo-700: #c2c2c1;
  --sonora-dumbo-900: #f7f4ef;
  --sonora-vermilion-500: #f8441b;
  --sonora-dandelion-700: #f5d907;
  --sonora-grass-500: #4aab04;
  --sonora-dodger-blue-600: #1f8bff;

  /* surfaces — the elevation ladder, page first */
  --sonora-surface-0: var(--sonora-dumbo-50);        /* E0 · page, sidebar, sticky header */
  --sonora-surface-1: var(--sonora-dumbo-100);       /* E1 · player bar, search field, dialog */
  --sonora-surface-2: var(--sonora-dumbo-150);       /* E2 · menu, neutral button, controls in a dialog */
  --sonora-surface-3: var(--sonora-dumbo-200);       /* E3 · inferred */
  --sonora-surface-4: var(--sonora-dumbo-250);       /* E4 · inferred */

  /* text */
  --sonora-fg-primary: var(--sonora-dumbo-900);      /* body text, headings, the current navigation row */
  --sonora-fg-secondary: var(--sonora-dumbo-700);    /* tab labels at rest and supporting copy */
  --sonora-fg-muted: var(--sonora-dumbo-600);        /* navigation rows that are not current, bylines, counts */
  --sonora-fg-disabled: var(--sonora-dumbo-450);     /* text on a control that cannot be used */

  /* borders */
  --sonora-border-subtle: rgb(255 255 255 / 0.1);    /* separators inside a menu, the outline of a secondary button, the edge of a card */
  --sonora-border-default: rgb(255 255 255 / 0.15);  /* a line between two regions of the page */
  --sonora-border-strong: rgb(255 255 255 / 0.3);    /* the outline of a text field — the one border that has to be found before it can be used */
  --sonora-border-focus: var(--sonora-dumbo-900);    /* the focus outline */

  /* states — layers and outlines, not surfaces */
  --sonora-state-hover: rgb(255 255 255 / 0.04);     /* a layer over the surface */
  --sonora-state-selected: rgb(255 255 255 / 0.1);   /* a layer over the surface */
  --sonora-state-focus: var(--sonora-dumbo-900);     /* an outline */
  --sonora-state-disabled: var(--sonora-dumbo-150);  /* replaces the fill */

  /* status */
  --sonora-success: var(--sonora-grass-500);         /* success */
  --sonora-warning: var(--sonora-dandelion-700);     /* warning */
  --sonora-error: var(--sonora-vermilion-500);       /* error */
  --sonora-info: var(--sonora-dodger-blue-600);      /* inferred role */
}

Notes

Professional tips

  • Near-black surfaces three steps deep, cream text, and one cream button. Every border and every hover is white at low alpha, and the only color in the frame is whatever the artwork brings.
  • The page is #101012, not black, and the text is #F7F4EF, not white. Most of what makes a neutral interface look like a particular neutral interface is in those two choices.
  • If a value you need is not a role, it is in Raw tokens. Give it a role before using it, so it is written once and can be changed in one place.

Common mistakes

  • Reaching into Raw tokens for a color a role already covers. A ramp step used directly is a value nobody can re-theme.
  • Sorting surfaces by lightness and calling the result elevation. Where a component sits is a decision, and it does not always follow the grays.
  • Treating an inferred row as settled. It is marked because its role is a reading rather than something measured in use; check it before relying on it.