# Dunkin' gradient

Gradients derived from Dunkin''s published colour tokens (nominative use; no brand assets). Deterministic: the same values are served as `--brand-gradient*` in the brand's brand.css.

- Page: https://brandsweets.com/gradients/brands/dunkindonuts-com
- Brand colors: https://brandsweets.com/colors/brands/dunkindonuts-com · Brand page: https://brandsweets.com/b/dunkindonuts-com
- Palette: primary #3e342f, secondary #0000ee, accents #c63663
- Source: https://dunkindonuts.com (extracted 2026-09-05)

## Brand gradient

ΔH 144° > 140° — interpolating in oklch (shorter hue) keeps the midpoint saturated.

- CSS: `linear-gradient(135deg in oklch shorter hue, #3e342f 0%, #0000ee 100%)`
- Tailwind: `bg-linear-to-br/oklch from-[#3e342f] to-[#0000ee]`
- Contrast (worst point): white 9.34:1 AA · black 1.74:1 fail · banding medium
- Maker: https://brandsweets.com/gradients/new/v1.3e342f-0000ee?a=135&in=oklch&hue=shorter

## Hero background

Chroma ×0.35 so it can carry text; ink white (inkFor at the midpoint). Passes AA for that ink at the worst point (8.21:1) without adjusting L.

- CSS: `linear-gradient(135deg in oklch shorter hue, #393634 0%, #324d88 100%)`
- Tailwind: `bg-linear-to-br/oklch from-[#393634] to-[#324d88]`
- Contrast (worst point): white 8.21:1 AA · black 1.75:1 fail · banding high · ink #ffffff
- Maker: https://brandsweets.com/gradients/new/v1.393634-324d88?a=135&in=oklch&hue=shorter

## Button / CTA

ΔL 0.08 top→bottom in the primary's hue (a lit surface, not a rainbow); hover L +0.03, active L −0.03. White ink passes AA on the surface and both states (worst 9.12:1).

- CSS: `linear-gradient(180deg in oklch shorter hue, #493e39 0%, #342a25 100%)`
- Tailwind: `bg-linear-to-b/oklch from-[#493e39] to-[#342a25]`
- Contrast (worst point): white 10.34:1 AA · black 1.50:1 fail · banding high · ink #ffffff
- Maker: https://brandsweets.com/gradients/new/v1.493e39-342a25?a=180&in=oklch&hue=shorter
- Hover: `linear-gradient(180deg in oklch shorter hue, #514641 0%, #3b312d 100%)`
- Active: `linear-gradient(180deg in oklch shorter hue, #413732 0%, #2c231e 100%)`

## Tonal ramp

- CSS: `linear-gradient(135deg in oklch shorter hue, #70655f 0%, #3e342f 50%, #120a06 100%)`
- Tailwind: `bg-linear-to-br/oklch from-[#70655f] via-[#3e342f] to-[#120a06]`
- Contrast (worst point): white 5.65:1 AA · black 1.07:1 fail · banding high
- Maker: https://brandsweets.com/gradients/new/v1.70655f-3e342f-120a06?a=135&in=oklch&hue=shorter

## Analogous

Partner hue from the analogous rule at the source colour's lightness.

- CSS: `linear-gradient(135deg in oklab, #3e342f 0%, #423132 100%)`
- Tailwind: `bg-linear-to-br/oklab from-[#3e342f] to-[#423132]`
- Contrast (worst point): white 12.03:1 AA · black 1.71:1 fail · banding high
- Maker: https://brandsweets.com/gradients/new/v1.3e342f-423132?a=135

## Complementary

Partner hue from the complementary rule at the source colour's lightness. ΔH 174° > 140° — interpolating in oklch (shorter hue) keeps the midpoint saturated.

- CSS: `linear-gradient(135deg in oklch shorter hue, #3e342f 0%, #30383b 100%)`
- Tailwind: `bg-linear-to-br/oklch from-[#3e342f] to-[#30383b]`
- Contrast (worst point): white 11.87:1 AA · black 1.73:1 fail · banding high
- Maker: https://brandsweets.com/gradients/new/v1.3e342f-30383b?a=135&in=oklch&hue=shorter

## Triadic

Partner hue from the triadic rule at the source colour's lightness.

- CSS: `linear-gradient(135deg in oklab, #3e342f 0%, #303935 100%)`
- Tailwind: `bg-linear-to-br/oklab from-[#3e342f] to-[#303935]`
- Contrast (worst point): white 11.88:1 AA · black 1.73:1 fail · banding high
- Maker: https://brandsweets.com/gradients/new/v1.3e342f-303935?a=135

## CSS custom properties (brand.css)

```css
:root {
  /* Brand gradient (derived) */
  /* worst-case contrast: white 9.34:1 AA, black 1.74:1 */
  --brand-gradient: linear-gradient(135deg in oklch shorter hue, #3e342f 0%, #0000ee 100%);
  /* hero — worst-case contrast: white 8.21:1 AA, black 1.75:1; ink passes AA at the worst point */
  --brand-gradient-hero: linear-gradient(135deg in oklch shorter hue, #393634 0%, #324d88 100%);
  --brand-gradient-hero-ink: #ffffff;
  /* button — worst-case contrast: white 10.34:1 AA, black 1.50:1 */
  --brand-gradient-button: linear-gradient(180deg in oklch shorter hue, #493e39 0%, #342a25 100%);
  --brand-gradient-button-hover: linear-gradient(180deg in oklch shorter hue, #514641 0%, #3b312d 100%);
  --brand-gradient-button-active: linear-gradient(180deg in oklch shorter hue, #413732 0%, #2c231e 100%);
  --brand-gradient-button-ink: #ffffff;
}
```

## Gradient maker

Every maker URL is the gradient's state: `/gradients/new/v1.<hex>-<hex>[_pos]?a=135&in=oklch&hue=shorter&e=soft&g=8`. Hand one to a human, let them refine, and read the link they return.

## Connect an agent

Point any MCP client at the BrandSweets gradients endpoint for the same engine and corpus:

- Endpoint: https://mcp.brandsweets.com/gradients/mcp
- Tools: `make_gradient` (2–5 colours → CSS with the interpolation space, Tailwind v4, SVG, PNG URL, DTCG token + the contrast/banding/gamut report), `brand_gradients` (brand slug or palette → brand gradient, hero, button, variants).
- Resource: `gradients://corpus` — the whole bundled corpus as JSON.
