Named gradient · uiGradients
Sunrise
Sunrise is a red gradient from uiGradients (MIT) — #ff512f → #f09819 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 2.28:1 at 100% (fails AA); black ink: worst 6.47:1 at 0% (AA) → use black text.
- Banding high: ~20px bands at 1440px — add grain 40 (≈3% soft-light noise) or shorten the ramp.
Export
.gradient {
background-image: linear-gradient(90deg, #ff512f 0%, #fe572e 7.14%, #fd5e2d 14.29%, #fd632c 21.43%, #fc692b 28.57%, #fb6e2a 35.71%, #fa7328 42.86%, #f97827 50%, #f87d26 57.14%, #f78224 64.29%, #f58622 71.43%, #f48b20 78.57%, #f38f1e 85.71%, #f1941c 92.86%, #f09819 100%);
background-image: linear-gradient(90deg in oklab, #ff512f 0%, #f09819 100%);
}bg-linear-to-r/oklab from-[#ff512f] to-[#f09819]
<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="#ff512f"/><stop offset="7.14%" stop-color="#fe572e"/><stop offset="14.29%" stop-color="#fd5e2d"/><stop offset="21.43%" stop-color="#fd632c"/><stop offset="28.57%" stop-color="#fc692b"/><stop offset="35.71%" stop-color="#fb6e2a"/><stop offset="42.86%" stop-color="#fa7328"/><stop offset="50%" stop-color="#f97827"/><stop offset="57.14%" stop-color="#f87d26"/><stop offset="64.29%" stop-color="#f78224"/><stop offset="71.43%" stop-color="#f58622"/><stop offset="78.57%" stop-color="#f48b20"/><stop offset="85.71%" stop-color="#f38f1e"/><stop offset="92.86%" stop-color="#f1941c"/><stop offset="100%" stop-color="#f09819"/></linearGradient></defs><rect width="1440" height="600" fill="url(#bs-gradient)"/></svg>
{
"sunrise": {
"$type": "gradient",
"$value": [
{
"color": {
"colorSpace": "srgb",
"components": [
1,
0.318,
0.184
],
"hex": "#ff512f"
},
"position": 0
},
{
"color": {
"colorSpace": "srgb",
"components": [
0.941,
0.596,
0.098
],
"hex": "#f09819"
},
"position": 1
}
],
"$extensions": {
"com.brandsweets": {
"kind": "linear",
"css": "linear-gradient(90deg in oklab, #ff512f 0%, #f09819 100%)",
"interpolation": "oklab",
"angle": 90,
"name": "Sunrise",
"contrast": {
"white": {
"ratio": 2.28,
"at": 1,
"passesAA": false,
"passesAALarge": false
},
"black": {
"ratio": 6.47,
"at": 0,
"passesAA": true,
"passesAALarge": true
},
"suggestedInk": "#000000"
}
}
},
"$description": "Sunrise (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 Sunrise gradient (#ff512f, #f09819), 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