# Cursor gradient

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

## Brand gradient

ΔE_OK 0.000 < 0.15 between #f54e00 and #f54e00 — a 2-stop would read as a flat fill, so this is a tonal ramp of #f54e00.

- CSS: `linear-gradient(135deg in oklch shorter hue, #ffac8f 0%, #f54e00 50%, #aa1a00 100%)`
- Tailwind: `bg-linear-to-br/oklch from-[#ffac8f] via-[#f54e00] to-[#aa1a00]`
- Contrast (worst point): white 1.82:1 fail · black 2.86:1 fail · banding high
- Maker: https://brandsweets.com/gradients/new/v1.ffac8f-f54e00-aa1a00?a=135&in=oklch&hue=shorter

## Hero background

Chroma ×0.35 so it can carry text; ink white (inkFor at the midpoint). L shifted −0.26 until the ink passes AA at the worst point (4.64:1).

- CSS: `linear-gradient(135deg in oklch shorter hue, #8c6e64 0%, #6a3221 50%, #2e0306 100%)`
- Tailwind: `bg-linear-to-br/oklch from-[#8c6e64] via-[#6a3221] to-[#2e0306]`
- Contrast (worst point): white 4.64:1 AA · black 1.13:1 fail · banding high · ink #ffffff
- Maker: https://brandsweets.com/gradients/new/v1.8c6e64-6a3221-2e0306?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. 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.96:1). Ink is below AA (3.96: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, #df3700 0%, #bd2100 100%)`
- Tailwind: `bg-linear-to-b/oklch from-[#df3700] to-[#bd2100]`
- Contrast (worst point): white 4.48:1 AA-large · black 3.38:1 AA-large · banding high · ink #ffffff
- Maker: https://brandsweets.com/gradients/new/v1.df3700-bd2100?a=180&in=oklch&hue=shorter
- Hover: `linear-gradient(180deg in oklch shorter hue, #ea4300 0%, #cb2600 100%)`
- Active: `linear-gradient(180deg in oklch shorter hue, #d42a00 0%, #ae1c00 100%)`

## Tonal ramp

- CSS: `linear-gradient(135deg in oklch shorter hue, #ffac8f 0%, #f54e00 50%, #aa1a00 100%)`
- Tailwind: `bg-linear-to-br/oklch from-[#ffac8f] via-[#f54e00] to-[#aa1a00]`
- Contrast (worst point): white 1.82:1 fail · black 2.86:1 fail · banding high
- Maker: https://brandsweets.com/gradients/new/v1.ffac8f-f54e00-aa1a00?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, #f54e00 0%, #ff2673 100%)`
- Tailwind: `bg-linear-to-br/oklab from-[#f54e00] to-[#ff2673]`
- Contrast (worst point): white 3.51:1 AA-large · black 5.78:1 AA · banding high
- Maker: https://brandsweets.com/gradients/new/v1.f54e00-ff2673?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, #f54e00 0%, #00a0bf 100%)`
- Tailwind: `bg-linear-to-br/oklch from-[#f54e00] to-[#00a0bf]`
- Contrast (worst point): white 3.09:1 AA-large · black 5.90:1 AA · banding medium
- Maker: https://brandsweets.com/gradients/new/v1.f54e00-00a0bf?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, #f54e00 0%, #00ab6b 100%)`
- Tailwind: `bg-linear-to-br/oklab from-[#f54e00] to-[#00ab6b]`
- Contrast (worst point): white 2.97:1 fail · black 5.97:1 AA · banding medium
- Maker: https://brandsweets.com/gradients/new/v1.f54e00-00ab6b?a=135

## CSS custom properties (brand.css)

```css
:root {
  /* Brand gradient (derived) */
  /* worst-case contrast: white 1.82:1, black 2.86:1 */
  --brand-gradient: linear-gradient(135deg in oklch shorter hue, #ffac8f 0%, #f54e00 50%, #aa1a00 100%);
  /* hero — worst-case contrast: white 4.64:1 AA, black 1.13:1; ink passes AA at the worst point */
  --brand-gradient-hero: linear-gradient(135deg in oklch shorter hue, #8c6e64 0%, #6a3221 50%, #2e0306 100%);
  --brand-gradient-hero-ink: #ffffff;
  /* button — worst-case contrast: white 4.48:1 AA-large, black 3.38:1 AA-large */
  --brand-gradient-button: linear-gradient(180deg in oklch shorter hue, #df3700 0%, #bd2100 100%);
  --brand-gradient-button-hover: linear-gradient(180deg in oklch shorter hue, #ea4300 0%, #cb2600 100%);
  --brand-gradient-button-active: linear-gradient(180deg in oklch shorter hue, #d42a00 0%, #ae1c00 100%);
  --brand-gradient-button-ink: #ffffff;
  /* button ink: 4.0: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.
