Named gradient · uiGradients
Nepal
Nepal is a red gradient from uiGradients (MIT) — #de6161 → #2657eb 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.51:1 at 0% (AA-large only); black ink: worst 3.64:1 at 100% (AA-large only) → use black 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, #de6161 0%, #d3646e 7.14%, #c7677a 14.29%, #bc6985 21.43%, #b06a8f 28.57%, #a46b9a 35.71%, #986ba3 42.86%, #8c6bad 50%, #806ab6 57.14%, #7368bf 64.29%, #6666c8 71.43%, #5964d1 78.57%, #4a60da 85.71%, #3a5ce2 92.86%, #2657eb 100%);
background-image: linear-gradient(90deg in oklab, #de6161 0%, #2657eb 100%);
}bg-linear-to-r/oklab from-[#de6161] to-[#2657eb]
<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="#de6161"/><stop offset="7.14%" stop-color="#d3646e"/><stop offset="14.29%" stop-color="#c7677a"/><stop offset="21.43%" stop-color="#bc6985"/><stop offset="28.57%" stop-color="#b06a8f"/><stop offset="35.71%" stop-color="#a46b9a"/><stop offset="42.86%" stop-color="#986ba3"/><stop offset="50%" stop-color="#8c6bad"/><stop offset="57.14%" stop-color="#806ab6"/><stop offset="64.29%" stop-color="#7368bf"/><stop offset="71.43%" stop-color="#6666c8"/><stop offset="78.57%" stop-color="#5964d1"/><stop offset="85.71%" stop-color="#4a60da"/><stop offset="92.86%" stop-color="#3a5ce2"/><stop offset="100%" stop-color="#2657eb"/></linearGradient></defs><rect width="1440" height="600" fill="url(#bs-gradient)"/></svg>
{
"nepal": {
"$type": "gradient",
"$value": [
{
"color": {
"colorSpace": "srgb",
"components": [
0.871,
0.38,
0.38
],
"hex": "#de6161"
},
"position": 0
},
{
"color": {
"colorSpace": "srgb",
"components": [
0.149,
0.341,
0.922
],
"hex": "#2657eb"
},
"position": 1
}
],
"$extensions": {
"com.brandsweets": {
"kind": "linear",
"css": "linear-gradient(90deg in oklab, #de6161 0%, #2657eb 100%)",
"interpolation": "oklab",
"angle": 90,
"name": "Nepal",
"contrast": {
"white": {
"ratio": 3.507,
"at": 0,
"passesAA": false,
"passesAALarge": true
},
"black": {
"ratio": 3.638,
"at": 0.9958,
"passesAA": false,
"passesAALarge": true
},
"suggestedInk": "#000000"
}
}
},
"$description": "Nepal (uiGradients, MIT), rendered in OKLab."
}
}Tagged
More red 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 Nepal gradient (#de6161, #2657eb), 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