# Medium Violet Red to Forest Green gradient

Medium Violet Red (#c71585) to Forest Green (#228b22), interpolated perceptually. The engine's pick for this pair is oklch.

- Page: https://brandsweets.com/gradients/mediumvioletred-to-forestgreen
- Colors: https://brandsweets.com/colors/mediumvioletred, https://brandsweets.com/colors/forestgreen
- Reverse: https://brandsweets.com/gradients/forestgreen-to-mediumvioletred

## OKLab

- CSS: `linear-gradient(135deg in oklab, #c71585 0%, #228b22 100%)`
- Tailwind: `bg-linear-to-br/oklab from-[#c71585] to-[#228b22]`
- Contrast (worst point): white 4.37:1 AA-large · black 3.87:1 AA-large · banding high
- Maker: https://brandsweets.com/gradients/new/v1.c71585-228b22?a=135

## OKLCH (shorter hue)

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

## Eased (soft)

- CSS: `linear-gradient(135deg in oklch shorter hue, #c71585 0%, #c81480 8.28%, #cc1172 16.03%, #d0115b 23.35%, #d21a3b 30.32%, #d02a00 37.03%, #bd4a00 43.56%, #aa5e00 50%, #996900 56.44%, #887300 62.97%, #767b00 69.68%, #5f8200 76.65%, #438800 83.97%, #2d8a18 91.72%, #228b22 100%)`
- Tailwind: `bg-[linear-gradient(135deg_in_oklch_shorter_hue,#c71585_0%,#c81480_8.28%,#cc1172_16.03%,#d0115b_23.35%,#d21a3b_30.32%,#d02a00_37.03%,#bd4a00_43.56%,#aa5e00_50%,#996900_56.44%,#887300_62.97%,#767b00_69.68%,#5f8200_76.65%,#438800_83.97%,#2d8a18_91.72%,#228b22_100%)]`
- Contrast (worst point): white 4.37:1 AA-large · black 3.86:1 AA-large · banding high
- Maker: https://brandsweets.com/gradients/new/v1.c71585-228b22?a=135&in=oklch&hue=shorter&e=soft&n=15

## Mesh

- CSS: `radial-gradient(circle farthest-corner at 7.83% 30.4%, oklch(from #c71585 l c h / 0.8478) 0%, rgb(from #c71585 r g b / 0) 45.9%), radial-gradient(circle farthest-corner at 58.09% 7.8%, oklch(from #228b22 l c h / 0.7517) 0%, rgb(from #228b22 r g b / 0) 51.63%)`
- Tailwind: `bg-[radial-gradient(circle_farthest-corner_at_7.83%_30.4%,oklch(from_#c71585_l_c_h_/_0.8478)_0%,rgb(from_#c71585_r_g_b_/_0)_45.9%),radial-gradient(circle_farthest-corner_at_58.09%_7.8%,oklch(from_#228b22_l_c_h_/_0.7517)_0%,rgb(from_#228b22_r_g_b_/_0)_51.63%)]`
- Contrast (worst point): white 4.83:1 AA · black 3.42:1 AA-large · banding high
- Maker: https://brandsweets.com/gradients/new/v1.c71585-228b22?k=mesh&seed=mediumvioletred-to-forestgreen

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