Colour to colour
Denim to Sienna gradient
Denim (#1560bd) into Sienna (#a0522d) — 148° apart on the OKLCH hue wheel. Below: the same two stops interpolated in OKLab and in OKLCH, side by side, because the difference is real and most generators never let you see it; then an eased version and a mesh, each with the worst-case contrast for white and black text. The engine's own pick for this pair is oklch: ΔH 148° > 140° — interpolating in oklch (shorter hue) keeps the midpoint saturated.
OKLab and OKLCH, side by side
OKLab
Open in maker →A straight line through the a/b plane: the two hues meet halfway and desaturate a little at the midpoint. The safe default — it is what CSS and Tailwind default to.
linear-gradient(135deg in oklab, #1560bd 0%, #a0522d 100%)
OKLCH (shorter hue)
Open in maker →Chroma and hue interpolate separately, so the midpoint keeps its saturation and the hue travels the short way round the wheel — richer, and it can pass through hues neither colour has.
linear-gradient(135deg in oklch shorter hue, #1560bd 0%, #a0522d 100%)
And the sRGB line most tools draw, for comparison — the number is the chroma that survives at the dullest point.
Eased and mesh
Eased (soft)
Open in maker →A cubic-bezier(.4, 0, .6, 1) mix ratio baked into 15 stops: the transition lingers on each colour and moves faster through the middle, which is what makes a gradient read as designed rather than default.
linear-gradient(135deg in oklch shorter hue, #1560bd 0%, #215fbd 8.28%, #365cbd 16.03%, #4c57bc 23.35%, #6052b6 30.32%, #744dac 37.03%, #84489e 43.56%, #92448b 50%, #9c4377 56.44%, #a24463 62.97%, #a44651 69.68%, #a44a42 76.65%, #a24e37 83.97%, #a15130 91.72%, #a0522d 100%)
Mesh
Open in maker →Both colours as stacked radials over a base, laid out by a seeded Poisson-disc sampler — the same seed gives the same mesh forever. Exports as CSS, SVG and PNG.
background-color: #6b617d; background-image: radial-gradient(circle farthest-corner at 66.57% 97.57%, rgba(21, 96, 189, 0.747) 0%, rgba(21, 96, 189, 0) 45.24%), radial-gradient(circle farthest-corner at 78.29% 30.5%, rgba(160, 82, 45, 0.725) 0%, rgba(160, 82, 45, 0) 55.18%); background-image: radial-gradient(circle farthest-corner at 66.57% 97.57%, oklch(from #1560bd l c h / 0.7473) 0%, rgb(from #1560bd r g b / 0) 45.24%), radial-gradient(circle farthest-corner at 78.29% 30.5%, oklch(from #a0522d l c h / 0.7254) 0%, rgb(from #a0522d r g b / 0) 55.18%);
Report
- white ink: worst 5.61:1 at 100% (AA); black ink: worst 3.37:1 at 26% (AA-large only) → use white text.
- Banding high: ~10px bands at 1440px — add grain 21 (≈2% soft-light noise) or shorten the ramp.
Export
.gradient {
background-image: linear-gradient(135deg, #1560bd 0%, #3c5bbd 7.14%, #5356ba 14.29%, #6451b5 21.43%, #734dad 28.57%, #7f49a3 35.71%, #894798 42.86%, #92448b 50%, #99437e 57.14%, #9e4370 64.29%, #a24462 71.43%, #a44654 78.57%, #a44947 85.71%, #a34d3a 92.86%, #a0522d 100%);
background-image: linear-gradient(135deg in oklch shorter hue, #1560bd 0%, #a0522d 100%);
}bg-linear-to-br/oklch from-[#1560bd] to-[#a0522d]
<svg xmlns="http://www.w3.org/2000/svg" width="1440" height="600" viewBox="0 0 1440 600"><defs><linearGradient id="bs-gradient" gradientUnits="userSpaceOnUse" x1="210" y1="-210" x2="1230" y2="810"><stop offset="0%" stop-color="#1560bd"/><stop offset="7.14%" stop-color="#3c5bbd"/><stop offset="14.29%" stop-color="#5356ba"/><stop offset="21.43%" stop-color="#6451b5"/><stop offset="28.57%" stop-color="#734dad"/><stop offset="35.71%" stop-color="#7f49a3"/><stop offset="42.86%" stop-color="#894798"/><stop offset="50%" stop-color="#92448b"/><stop offset="57.14%" stop-color="#99437e"/><stop offset="64.29%" stop-color="#9e4370"/><stop offset="71.43%" stop-color="#a24462"/><stop offset="78.57%" stop-color="#a44654"/><stop offset="85.71%" stop-color="#a44947"/><stop offset="92.86%" stop-color="#a34d3a"/><stop offset="100%" stop-color="#a0522d"/></linearGradient></defs><rect width="1440" height="600" fill="url(#bs-gradient)"/></svg>
{
"denim-to-sienna": {
"$type": "gradient",
"$value": [
{
"color": {
"colorSpace": "srgb",
"components": [
0.082,
0.376,
0.741
],
"hex": "#1560bd"
},
"position": 0
},
{
"color": {
"colorSpace": "srgb",
"components": [
0.627,
0.322,
0.176
],
"hex": "#a0522d"
},
"position": 1
}
],
"$extensions": {
"com.brandsweets": {
"kind": "linear",
"css": "linear-gradient(135deg in oklch shorter hue, #1560bd 0%, #a0522d 100%)",
"interpolation": "oklch",
"hue": "shorter",
"angle": 135,
"name": "denim-to-sienna",
"contrast": {
"white": {
"ratio": 5.613,
"at": 0.9971,
"passesAA": true,
"passesAALarge": true
},
"black": {
"ratio": 3.367,
"at": 0.2593,
"passesAA": false,
"passesAALarge": true
},
"suggestedInk": "#ffffff"
}
}
},
"$description": "Denim to Sienna, interpolated in oklch."
}
}More from Denim
Point any MCP client at the shared gradients endpoint and your agent gets the same engine as this page — make_gradient returns CSS with the interpolation space, Tailwind v4, SVG, a PNG URL, a DTCG token and the contrast report in one call; brand_gradients derives the whole contact sheet from a brand or a palette. Read-only, no key. Every gradient is a /gradients/new/… link: open it, refine, paste it back.
https://mcp.brandsweets.com/gradients/mcpclaude mcp add --transport http brandsweets-gradients https://mcp.brandsweets.com/gradients/mcp
›make a denim to sienna hero gradient in oklch that passes AA for white text, with grain if it bands
Want the agent to remember your picks and write them into a living brand? Create a free BrandSweets workspace.
Machine-readable: gradients.md