Named gradient · uiGradients
Sunset
Sunset is a blue gradient from uiGradients (MIT) — #0b486b → #f56217 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.16:1 at 100% (AA-large only); black ink: worst 2.15:1 at 0% (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: ~6px bands at 1440px — add grain 11 (≈1% soft-light noise) or shorten the ramp.
Export
.gradient {
background-image: linear-gradient(90deg, #0b486b 0%, #294c69 7.14%, #3c5067 14.29%, #4e5465 21.43%, #5e5762 28.57%, #6d5a5f 35.71%, #7c5d5c 42.86%, #8b5f58 50%, #9a6053 57.14%, #a9624e 64.29%, #b86348 71.43%, #c76340 78.57%, #d76337 85.71%, #e6632b 92.86%, #f56217 100%);
background-image: linear-gradient(90deg in oklab, #0b486b 0%, #f56217 100%);
}bg-linear-to-r/oklab from-[#0b486b] to-[#f56217]
<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="#0b486b"/><stop offset="7.14%" stop-color="#294c69"/><stop offset="14.29%" stop-color="#3c5067"/><stop offset="21.43%" stop-color="#4e5465"/><stop offset="28.57%" stop-color="#5e5762"/><stop offset="35.71%" stop-color="#6d5a5f"/><stop offset="42.86%" stop-color="#7c5d5c"/><stop offset="50%" stop-color="#8b5f58"/><stop offset="57.14%" stop-color="#9a6053"/><stop offset="64.29%" stop-color="#a9624e"/><stop offset="71.43%" stop-color="#b86348"/><stop offset="78.57%" stop-color="#c76340"/><stop offset="85.71%" stop-color="#d76337"/><stop offset="92.86%" stop-color="#e6632b"/><stop offset="100%" stop-color="#f56217"/></linearGradient></defs><rect width="1440" height="600" fill="url(#bs-gradient)"/></svg>
{
"sunset": {
"$type": "gradient",
"$value": [
{
"color": {
"colorSpace": "srgb",
"components": [
0.043,
0.282,
0.42
],
"hex": "#0b486b"
},
"position": 0
},
{
"color": {
"colorSpace": "srgb",
"components": [
0.961,
0.384,
0.09
],
"hex": "#f56217"
},
"position": 1
}
],
"$extensions": {
"com.brandsweets": {
"kind": "linear",
"css": "linear-gradient(90deg in oklab, #0b486b 0%, #f56217 100%)",
"interpolation": "oklab",
"angle": 90,
"name": "Sunset",
"contrast": {
"white": {
"ratio": 3.162,
"at": 1,
"passesAA": false,
"passesAALarge": true
},
"black": {
"ratio": 2.153,
"at": 0,
"passesAA": false,
"passesAALarge": false
},
"suggestedInk": "#ffffff"
}
}
},
"$description": "Sunset (uiGradients, MIT), rendered in OKLab."
}
}Tagged
More blue 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 Sunset gradient (#0b486b, #f56217), 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