Named gradient · uiGradients
Yoda
Yoda is a pink gradient from uiGradients (MIT) — #ff0099 → #493240 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 3.67:1 at 0% (AA-large only); black ink: worst 1.81:1 at 100% (fails AA) → use white text.
- Body text fails AA everywhere on this gradient; large text (≥24px / 19px bold) is fine. Add a scrim or lower the chroma for body copy.
- Banding medium: ~8px bands at 1440px — add grain 15 (≈2% soft-light noise) or shorten the ramp.
Export
.gradient {
background-image: linear-gradient(90deg, #ff0099 0%, #f11692 7.14%, #e4208c 14.29%, #d62785 21.43%, #c92c7e 28.57%, #bb3078 35.71%, #ae3271 42.86%, #a1346b 50%, #943565 57.14%, #88365e 64.29%, #7b3658 71.43%, #6e3552 78.57%, #62354c 85.71%, #553346 92.86%, #493240 100%);
background-image: linear-gradient(90deg in oklab, #ff0099 0%, #493240 100%);
}bg-linear-to-r/oklab from-[#ff0099] to-[#493240]
<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="#ff0099"/><stop offset="7.14%" stop-color="#f11692"/><stop offset="14.29%" stop-color="#e4208c"/><stop offset="21.43%" stop-color="#d62785"/><stop offset="28.57%" stop-color="#c92c7e"/><stop offset="35.71%" stop-color="#bb3078"/><stop offset="42.86%" stop-color="#ae3271"/><stop offset="50%" stop-color="#a1346b"/><stop offset="57.14%" stop-color="#943565"/><stop offset="64.29%" stop-color="#88365e"/><stop offset="71.43%" stop-color="#7b3658"/><stop offset="78.57%" stop-color="#6e3552"/><stop offset="85.71%" stop-color="#62354c"/><stop offset="92.86%" stop-color="#553346"/><stop offset="100%" stop-color="#493240"/></linearGradient></defs><rect width="1440" height="600" fill="url(#bs-gradient)"/></svg>
{
"yoda": {
"$type": "gradient",
"$value": [
{
"color": {
"colorSpace": "srgb",
"components": [
1,
0,
0.6
],
"hex": "#ff0099"
},
"position": 0
},
{
"color": {
"colorSpace": "srgb",
"components": [
0.286,
0.196,
0.251
],
"hex": "#493240"
},
"position": 1
}
],
"$extensions": {
"com.brandsweets": {
"kind": "linear",
"css": "linear-gradient(90deg in oklab, #ff0099 0%, #493240 100%)",
"interpolation": "oklab",
"angle": 90,
"name": "Yoda",
"contrast": {
"white": {
"ratio": 3.674,
"at": 0.0026,
"passesAA": false,
"passesAALarge": true
},
"black": {
"ratio": 1.814,
"at": 1,
"passesAA": false,
"passesAALarge": false
},
"suggestedInk": "#ffffff"
}
}
},
"$description": "Yoda (uiGradients, MIT), rendered in OKLab."
}
}Tagged
More pink 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 Yoda gradient (#ff0099, #493240), 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