# Colour · Divan

> Three surface tones separate everything; there are no borders. Controls use translucent fills so they work on any surface. Copper is the single tint for anything pressable; turquoise means on, done or live. Tailwind’s own palette is switched off: only token names compile.

Part of Divan, the DivanWorks design system. Web page: https://brand.divanworks.com/colour · All topics: https://brand.divanworks.com/llms.txt

## Rules

- Page bg-background; cards and groups bg-card; menus, sheets, dialogs, toasts bg-popover.
- Fields and rows bg-muted; hover and pressed bg-accent; the chosen segment, toggle, tab and the empty radio or checkbox bg-selected (clearly lighter than its track). Never muted inside muted.
- Labels: text-foreground (titles, body), text-muted-foreground (descriptions), text-faint (hints, dates, captions). All pass 4.5:1 on a card.
- bg-primary only on the main button; text-primary for plain buttons, links and one highlighted word.
- Signal colours never fill large areas: warning only as a status dot; destructive as a soft fill on negative or sensitive buttons and as text under a field to fix, never a red banner.
- The brand-* colours (ink, porcelain, turquoise, copper) are for the logo, print and social art, not for UI.

## Colour tokens

| Token | Value | Classes | For |
| --- | --- | --- | --- |
| `background` | `#091318` | `bg-background` `text-background` | the page |
| `card` | `#142127` | `bg-card` `text-card` | cards and groups resting on the page |
| `card-foreground` | `#f2f0e9` | `bg-card-foreground` `text-card-foreground` |  |
| `popover` | `#25353b` | `bg-popover` `text-popover` | raised: menus, sheets, dialogs, toasts (1.3:1 above a card, so it needs no shadow) |
| `popover-foreground` | `#f2f0e9` | `bg-popover-foreground` `text-popover-foreground` |  |
| `glass` | `rgb(9 19 24 / 0.72)` | `bg-glass` `text-glass` | header and drawer, with backdrop blur |
| `scrim` | `rgb(3 8 10 / 0.62)` | `bg-scrim` `text-scrim` | behind sheets and dialogs |
| `muted` | `rgb(242 240 233 / 0.08)` | `bg-muted` `text-muted` | fields, rows, gray buttons |
| `accent` | `rgb(242 240 233 / 0.12)` | `bg-accent` `text-accent` | hover, pressed, selected |
| `accent-foreground` | `#f2f0e9` | `bg-accent-foreground` `text-accent-foreground` |  |
| `secondary` | `rgb(242 240 233 / 0.08)` | `bg-secondary` `text-secondary` | gray button |
| `secondary-foreground` | `#f2f0e9` | `bg-secondary-foreground` `text-secondary-foreground` |  |
| `input` | `rgb(242 240 233 / 0.08)` | `bg-input` `text-input` | field fill (not a border) |
| `foreground` | `#f2f0e9` | `bg-foreground` `text-foreground` | titles and body · 14.4:1 on card |
| `muted-foreground` | `#adbabe` | `bg-muted-foreground` `text-muted-foreground` | descriptions · 8.2:1 on card |
| `faint` | `#909ea3` | `bg-faint` `text-faint` | hints, dates, captions · 5.9:1 on card |
| `primary` | `#e49060` | `bg-primary` `text-primary` | copper: everything pressable |
| `primary-foreground` | `#091318` | `bg-primary-foreground` `text-primary-foreground` |  |
| `success` | `#4cc3c2` | `bg-success` `text-success` | turquoise: on, done, live |
| `progress` | `#6aa9e8` | `bg-progress` `text-progress` | lapis: happening now (status dots only; copper stays for what you can press) |
| `selected` | `#3c4f56` | `bg-selected` `text-selected` | the chosen segment or toggle: clearly lighter than its track |
| `success-foreground` | `#091318` | `bg-success-foreground` `text-success-foreground` |  |
| `warning` | `#f2c36a` | `bg-warning` `text-warning` | saffron: status dots only |
| `warning-foreground` | `#091318` | `bg-warning-foreground` `text-warning-foreground` |  |
| `destructive` | `#f17871` | `bg-destructive` `text-destructive` | removing things, and the one field to fix |
| `destructive-foreground` | `#091318` | `bg-destructive-foreground` `text-destructive-foreground` |  |
| `chart-1` | `#e49060` | `bg-chart-1` `text-chart-1` | copper, the first series |
| `chart-2` | `#4cc3c2` | `bg-chart-2` `text-chart-2` | turquoise |
| `chart-3` | `#6aa9e8` | `bg-chart-3` `text-chart-3` | lapis |
| `chart-4` | `#f2c36a` | `bg-chart-4` `text-chart-4` | saffron |
| `chart-5` | `#b49cf0` | `bg-chart-5` `text-chart-5` | lavender |
| `sentiment-very-negative` | `#ee6b5f` | `bg-sentiment-very-negative` `text-sentiment-very-negative` |  |
| `sentiment-negative` | `#eda15e` | `bg-sentiment-negative` `text-sentiment-negative` |  |
| `sentiment-neutral` | `#909ea3` | `bg-sentiment-neutral` `text-sentiment-neutral` |  |
| `sentiment-positive` | `#7cc4fa` | `bg-sentiment-positive` `text-sentiment-positive` |  |
| `sentiment-very-positive` | `#3d7ee0` | `bg-sentiment-very-positive` `text-sentiment-very-positive` |  |
| `border` | `transparent` | `bg-border` `text-border` |  |
| `ring` | `#e49060` | `bg-ring` `text-ring` | keyboard focus, the only outline |
| `brand-ink` | `#152a30` | `bg-brand-ink` `text-brand-ink` |  |
| `brand-ink-soft` | `#1c3841` | `bg-brand-ink-soft` `text-brand-ink-soft` |  |
| `brand-porcelain` | `#f2f0e9` | `bg-brand-porcelain` `text-brand-porcelain` |  |
| `brand-turquoise` | `#087f8c` | `bg-brand-turquoise` `text-brand-turquoise` |  |
| `brand-copper` | `#b96f4a` | `bg-brand-copper` `text-brand-copper` |  |
| `brand-gold` | `#c99a4a` | `bg-brand-gold` `text-brand-gold` | “Works” in the logo |
| `brand-gold-dark` | `#a77a2c` | `bg-brand-gold-dark` `text-brand-gold-dark` | “Works” on light backgrounds (3.4:1 on porcelain) |
