Named gradient · uiGradients
Relaxing red
Relaxing red is a yellow gradient from uiGradients (MIT) — #fffbd5 → #b20a2c at 90°. Shown here interpolated in OKLab, next to the original sRGB, with the worst-case contrast for white and black text and every export.
Same stops, three spaces
The source renders this in sRGB. The number is how much chroma survives at the dullest point along the line — the difference between the first bar and the others is the grey that OKLab removes.
Report
- white ink: worst 1.05:1 at 0% (fails AA); black ink: worst 2.97:1 at 100% (fails AA) → use black text.
- Neither ink passes AA at the worst point — treat as decorative or add a scrim (rgba(0,0,0,.35) typically lifts white ink past 4:1).
- White text disappears completely at 0% (1.00:1 crossing).
- Banding medium: ~6px bands at 1440px — add grain 10 (≈1% soft-light noise) or shorten the ramp.
Export
.gradient {
background-image: linear-gradient(90deg, #fffbd5 0%, #fcecc8 7.14%, #f8ddbb 14.29%, #f4cdaf 21.43%, #f0bea2 28.57%, #ecaf96 35.71%, #e7a089 42.86%, #e1917d 50%, #db8271 57.14%, #d57266 64.29%, #cf635a 71.43%, #c8524e 78.57%, #c14043 85.71%, #ba2c37 92.86%, #b20a2c 100%);
background-image: linear-gradient(90deg in oklab, #fffbd5 0%, #b20a2c 100%);
}bg-linear-to-r/oklab from-[#fffbd5] to-[#b20a2c]
<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="0" y1="300" x2="1440" y2="300"><stop offset="0%" stop-color="#fffbd5"/><stop offset="7.14%" stop-color="#fcecc8"/><stop offset="14.29%" stop-color="#f8ddbb"/><stop offset="21.43%" stop-color="#f4cdaf"/><stop offset="28.57%" stop-color="#f0bea2"/><stop offset="35.71%" stop-color="#ecaf96"/><stop offset="42.86%" stop-color="#e7a089"/><stop offset="50%" stop-color="#e1917d"/><stop offset="57.14%" stop-color="#db8271"/><stop offset="64.29%" stop-color="#d57266"/><stop offset="71.43%" stop-color="#cf635a"/><stop offset="78.57%" stop-color="#c8524e"/><stop offset="85.71%" stop-color="#c14043"/><stop offset="92.86%" stop-color="#ba2c37"/><stop offset="100%" stop-color="#b20a2c"/></linearGradient></defs><rect width="1440" height="600" fill="url(#bs-gradient)"/></svg>
{
"relaxing-red": {
"$type": "gradient",
"$value": [
{
"color": {
"colorSpace": "srgb",
"components": [
1,
0.984,
0.835
],
"hex": "#fffbd5"
},
"position": 0
},
{
"color": {
"colorSpace": "srgb",
"components": [
0.698,
0.039,
0.173
],
"hex": "#b20a2c"
},
"position": 1
}
],
"$extensions": {
"com.brandsweets": {
"kind": "linear",
"css": "linear-gradient(90deg in oklab, #fffbd5 0%, #b20a2c 100%)",
"interpolation": "oklab",
"angle": 90,
"name": "Relaxing red",
"contrast": {
"white": {
"ratio": 1.049,
"at": 0,
"passesAA": false,
"passesAALarge": false
},
"black": {
"ratio": 2.973,
"at": 1,
"passesAA": false,
"passesAALarge": false
},
"suggestedInk": "#000000"
}
}
},
"$description": "Relaxing red (uiGradients, MIT), rendered in OKLab."
}
}Tagged
More yellow gradients
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
›take the Relaxing red gradient (#fffbd5, #b20a2c), re-interpolate it in oklch, and tell me the worst-case contrast for white text
Want the agent to remember your picks and write them into a living brand? Create a free BrandSweets workspace.
Machine-readable: gradients.md · From uiGradients (MIT) — licences