# Crimson to Amber gradient

Crimson (#dc143c) to Amber (#ffbf00), interpolated perceptually. The engine's pick for this pair is oklab.

- Page: https://brandsweets.com/gradients/crimson-to-amber
- Colors: https://brandsweets.com/colors/crimson, https://brandsweets.com/colors/amber
- Reverse: https://brandsweets.com/gradients/amber-to-crimson

## OKLab

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

## OKLCH (shorter hue)

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

## Eased (soft)

- CSS: `linear-gradient(135deg in oklab, #dc143c 0%, #dd1b3c 8.28%, #df293c 16.03%, #e2393b 23.35%, #e5493a 30.32%, #e95939 37.03%, #ed6a37 43.56%, #f17a33 50%, #f5892f 56.44%, #f89729 62.97%, #fba422 69.68%, #fdaf1a 76.65%, #feb80f 83.97%, #ffbd04 91.72%, #ffbf00 100%)`
- Tailwind: `bg-[linear-gradient(135deg_in_oklab,#dc143c_0%,#dd1b3c_8.28%,#df293c_16.03%,#e2393b_23.35%,#e5493a_30.32%,#e95939_37.03%,#ed6a37_43.56%,#f17a33_50%,#f5892f_56.44%,#f89729_62.97%,#fba422_69.68%,#fdaf1a_76.65%,#feb80f_83.97%,#ffbd04_91.72%,#ffbf00_100%)]`
- Contrast (worst point): white 1.65:1 fail · black 4.21:1 AA-large · banding medium
- Maker: https://brandsweets.com/gradients/new/v1.dc143c-ffbf00?a=135&e=soft&n=15

## Mesh

- CSS: `radial-gradient(circle farthest-corner at 93.63% 70.6%, oklch(from #dc143c l c h / 0.8921) 0%, rgb(from #dc143c r g b / 0) 56.1%), radial-gradient(circle farthest-corner at 56.74% 83.41%, oklch(from #ffbf00 l c h / 0.8273) 0%, rgb(from #ffbf00 r g b / 0) 55.06%)`
- Tailwind: `bg-[radial-gradient(circle_farthest-corner_at_93.63%_70.6%,oklch(from_#dc143c_l_c_h_/_0.8921)_0%,rgb(from_#dc143c_r_g_b_/_0)_56.1%),radial-gradient(circle_farthest-corner_at_56.74%_83.41%,oklch(from_#ffbf00_l_c_h_/_0.8273)_0%,rgb(from_#ffbf00_r_g_b_/_0)_55.06%)]`
- Contrast (worst point): white 2.67:1 fail · black 5.09:1 AA · banding high
- Maker: https://brandsweets.com/gradients/new/v1.dc143c-ffbf00?k=mesh&seed=crimson-to-amber

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