# Formula 1 gradient

Gradients derived from Formula 1'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/formula1-com
- Brand colors: https://brandsweets.com/colors/brands/formula1-com · Brand page: https://brandsweets.com/b/formula1-com
- Palette: primary #27f4d2, secondary #e10600, accents #e8002d
- Source: https://formula1.com (extracted 2026-09-05)

## Brand gradient

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

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

## 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 (4.57:1) without adjusting L.

- CSS: `linear-gradient(135deg in oklch shorter hue, #aee0d3 0%, #a3655c 100%)`
- Tailwind: `bg-linear-to-br/oklch from-[#aee0d3] to-[#a3655c]`
- Contrast (worst point): white 1.46:1 fail · black 4.57:1 AA · banding medium · ink #000000
- Maker: https://brandsweets.com/gradients/new/v1.aee0d3-a3655c?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. Black ink passes AA on the surface and both states (worst 11.96:1).

- CSS: `linear-gradient(180deg in oklch shorter hue, #42ffdf 0%, #00e7c5 100%)`
- Tailwind: `bg-linear-to-b/oklch from-[#42ffdf] to-[#00e7c5]`
- Contrast (worst point): white 1.26:1 fail · black 13.24:1 AA · banding high · ink #000000
- Maker: https://brandsweets.com/gradients/new/v1.42ffdf-00e7c5?a=180&in=oklch&hue=shorter
- Hover: `linear-gradient(180deg in oklch shorter hue, #7fffe9 0%, #1ef1cf 100%)`
- Active: `linear-gradient(180deg in oklch shorter hue, #2ff7d5 0%, #00dcbc 100%)`

## Tonal ramp

- CSS: `linear-gradient(135deg in oklch shorter hue, #cefff8 0%, #27f4d2 50%, #00b799 100%)`
- Tailwind: `bg-linear-to-br/oklch from-[#cefff8] via-[#27f4d2] to-[#00b799]`
- Contrast (worst point): white 1.09:1 fail · black 8.23:1 AA · banding high
- Maker: https://brandsweets.com/gradients/new/v1.cefff8-27f4d2-00b799?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, #27f4d2 0%, #27fc67 100%)`
- Tailwind: `bg-linear-to-br/oklab from-[#27f4d2] to-[#27fc67]`
- Contrast (worst point): white 1.38:1 fail · black 14.91:1 AA · banding high
- Maker: https://brandsweets.com/gradients/new/v1.27f4d2-27fc67?a=135

## Complementary

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

- CSS: `linear-gradient(135deg in oklch shorter hue, #27f4d2 0%, #febfd4 100%)`
- Tailwind: `bg-linear-to-br/oklch from-[#27f4d2] to-[#febfd4]`
- Contrast (worst point): white 1.40:1 fail · black 13.47:1 AA · banding medium
- Maker: https://brandsweets.com/gradients/new/v1.27f4d2-febfd4?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, #27f4d2 0%, #d8cafe 100%)`
- Tailwind: `bg-linear-to-br/oklab from-[#27f4d2] to-[#d8cafe]`
- Contrast (worst point): white 1.40:1 fail · black 13.77:1 AA · banding high
- Maker: https://brandsweets.com/gradients/new/v1.27f4d2-d8cafe?a=135

## CSS custom properties (brand.css)

```css
:root {
  /* Brand gradient (derived) */
  /* worst-case contrast: white 1.40:1, black 4.23:1 AA-large */
  --brand-gradient: linear-gradient(135deg in oklch shorter hue, #27f4d2 0%, #e10600 100%);
  /* hero — worst-case contrast: white 1.46:1, black 4.57:1 AA; ink passes AA at the worst point */
  --brand-gradient-hero: linear-gradient(135deg in oklch shorter hue, #aee0d3 0%, #a3655c 100%);
  --brand-gradient-hero-ink: #000000;
  /* button — worst-case contrast: white 1.26:1, black 13.24:1 AA */
  --brand-gradient-button: linear-gradient(180deg in oklch shorter hue, #42ffdf 0%, #00e7c5 100%);
  --brand-gradient-button-hover: linear-gradient(180deg in oklch shorter hue, #7fffe9 0%, #1ef1cf 100%);
  --brand-gradient-button-active: linear-gradient(180deg in oklch shorter hue, #2ff7d5 0%, #00dcbc 100%);
  --brand-gradient-button-ink: #000000;
}
```

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