Named gradient · uiGradients
Alihossein
Alihossein is a yellow gradient from uiGradients (MIT) — #f7ff00 → #db36a4 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.09:1 at 0% (fails AA); black ink: worst 5.08:1 at 100% (AA) → use black text.
- Banding medium: ~7px bands at 1440px — add grain 14 (≈2% soft-light noise) or shorten the ramp.
Export
.gradient {
background-image: linear-gradient(90deg, #f7ff00 0%, #f7f339 7.14%, #f6e650 14.29%, #f5da60 21.43%, #f4cd6c 28.57%, #f3c176 35.71%, #f1b47e 42.86%, #efa786 50%, #ed9a8c 57.14%, #eb8c91 64.29%, #e87e96 71.43%, #e56f9a 78.57%, #e25f9e 85.71%, #df4ca1 92.86%, #db36a4 100%);
background-image: linear-gradient(90deg in oklab, #f7ff00 0%, #db36a4 100%);
}bg-linear-to-r/oklab from-[#f7ff00] to-[#db36a4]
<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="#f7ff00"/><stop offset="7.14%" stop-color="#f7f339"/><stop offset="14.29%" stop-color="#f6e650"/><stop offset="21.43%" stop-color="#f5da60"/><stop offset="28.57%" stop-color="#f4cd6c"/><stop offset="35.71%" stop-color="#f3c176"/><stop offset="42.86%" stop-color="#f1b47e"/><stop offset="50%" stop-color="#efa786"/><stop offset="57.14%" stop-color="#ed9a8c"/><stop offset="64.29%" stop-color="#eb8c91"/><stop offset="71.43%" stop-color="#e87e96"/><stop offset="78.57%" stop-color="#e56f9a"/><stop offset="85.71%" stop-color="#e25f9e"/><stop offset="92.86%" stop-color="#df4ca1"/><stop offset="100%" stop-color="#db36a4"/></linearGradient></defs><rect width="1440" height="600" fill="url(#bs-gradient)"/></svg>
{
"alihossein": {
"$type": "gradient",
"$value": [
{
"color": {
"colorSpace": "srgb",
"components": [
0.969,
1,
0
],
"hex": "#f7ff00"
},
"position": 0
},
{
"color": {
"colorSpace": "srgb",
"components": [
0.859,
0.212,
0.643
],
"hex": "#db36a4"
},
"position": 1
}
],
"$extensions": {
"com.brandsweets": {
"kind": "linear",
"css": "linear-gradient(90deg in oklab, #f7ff00 0%, #db36a4 100%)",
"interpolation": "oklab",
"angle": 90,
"name": "Alihossein",
"contrast": {
"white": {
"ratio": 1.09,
"at": 0,
"passesAA": false,
"passesAALarge": false
},
"black": {
"ratio": 5.076,
"at": 1,
"passesAA": true,
"passesAALarge": true
},
"suggestedInk": "#000000"
}
}
},
"$description": "Alihossein (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 Alihossein gradient (#f7ff00, #db36a4), 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