# Anthropic gradient

Gradients derived from Anthropic'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/anthropic
- Brand colors: https://brandsweets.com/colors/brands/anthropic · Brand page: https://brandsweets.com/b/anthropic
- Palette: primary #d97757, secondary #e3dacc, accents #d97757
- Source: https://anthropic.com (extracted 2026-09-02)

## Brand gradient

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

## Hero background

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

- CSS: `linear-gradient(135deg in oklab, #b08d82 0%, #dedbd6 100%)`
- Tailwind: `bg-linear-to-br/oklab from-[#b08d82] to-[#dedbd6]`
- Contrast (worst point): white 1.38:1 fail · black 6.98:1 AA · banding medium · ink #000000
- Maker: https://brandsweets.com/gradients/new/v1.b08d82-dedbd6?a=135

## 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. L shifted −0.10 so white ink gets as close as the ±0.1 bound allows to AA on the surface and both states (worst 3.50:1). Ink is below AA (3.50:1 at the worst point) — use it for large text only, or pick a darker/lighter primary for buttons.

- CSS: `linear-gradient(180deg in oklch shorter hue, #c56545 0%, #aa4d2d 100%)`
- Tailwind: `bg-linear-to-b/oklch from-[#c56545] to-[#aa4d2d]`
- Contrast (worst point): white 3.95:1 AA-large · black 3.81:1 AA-large · banding high · ink #ffffff
- Maker: https://brandsweets.com/gradients/new/v1.c56545-aa4d2d?a=180&in=oklch&hue=shorter
- Hover: `linear-gradient(180deg in oklch shorter hue, #cf6e4e 0%, #b45636 100%)`
- Active: `linear-gradient(180deg in oklch shorter hue, #ba5c3c 0%, #a04424 100%)`

## Tonal ramp

- CSS: `linear-gradient(135deg in oklch shorter hue, #ffb69b 0%, #d97757 50%, #9d4121 100%)`
- Tailwind: `bg-linear-to-br/oklch from-[#ffb69b] via-[#d97757] to-[#9d4121]`
- Contrast (worst point): white 1.69:1 fail · black 3.21:1 AA-large · banding high
- Maker: https://brandsweets.com/gradients/new/v1.ffb69b-d97757-9d4121?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, #d97757 0%, #db6f85 100%)`
- Tailwind: `bg-linear-to-br/oklab from-[#d97757] to-[#db6f85]`
- Contrast (worst point): white 3.12:1 AA-large · black 6.61:1 AA · banding high
- Maker: https://brandsweets.com/gradients/new/v1.d97757-db6f85?a=135

## Complementary

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

- CSS: `linear-gradient(135deg in oklch shorter hue, #d97757 0%, #5fa1b5 100%)`
- Tailwind: `bg-linear-to-br/oklch from-[#d97757] to-[#5fa1b5]`
- Contrast (worst point): white 2.89:1 fail · black 6.65:1 AA · banding high
- Maker: https://brandsweets.com/gradients/new/v1.d97757-5fa1b5?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, #d97757 0%, #60a881 100%)`
- Tailwind: `bg-linear-to-br/oklab from-[#d97757] to-[#60a881]`
- Contrast (worst point): white 2.82:1 fail · black 6.70:1 AA · banding high
- Maker: https://brandsweets.com/gradients/new/v1.d97757-60a881?a=135

## CSS custom properties (brand.css)

```css
:root {
  /* Brand gradient (derived) */
  /* worst-case contrast: white 1.39:1, black 6.73:1 AA */
  --brand-gradient: linear-gradient(135deg in oklab, #d97757 0%, #e3dacc 100%);
  /* hero — worst-case contrast: white 1.38:1, black 6.98:1 AA; ink passes AA at the worst point */
  --brand-gradient-hero: linear-gradient(135deg in oklab, #b08d82 0%, #dedbd6 100%);
  --brand-gradient-hero-ink: #000000;
  /* button — worst-case contrast: white 3.95:1 AA-large, black 3.81:1 AA-large */
  --brand-gradient-button: linear-gradient(180deg in oklch shorter hue, #c56545 0%, #aa4d2d 100%);
  --brand-gradient-button-hover: linear-gradient(180deg in oklch shorter hue, #cf6e4e 0%, #b45636 100%);
  --brand-gradient-button-active: linear-gradient(180deg in oklch shorter hue, #ba5c3c 0%, #a04424 100%);
  --brand-gradient-button-ink: #ffffff;
  /* button ink: 3.5:1 — below AA */
}
```

## 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.
