Named gradient · uiGradients
Politics
Politics is a blue gradient from uiGradients (MIT) — #2196f3 → #f44336 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.12:1 at 2% (AA-large only); black ink: worst 5.69:1 at 100% (AA) → use black text.
- Banding medium: ~7px bands at 1440px — add grain 13 (≈2% soft-light noise) or shorten the ramp.
Export
.gradient {
background-image: linear-gradient(90deg, #2196f3 0%, #4894e7 7.14%, #6092db 14.29%, #738fcf 21.43%, #838cc3 28.57%, #9288b7 35.71%, #9f84ab 42.86%, #ab7f9f 50%, #b77a92 57.14%, #c27485 64.29%, #cd6d78 71.43%, #d7656a 78.57%, #e15c5b 85.71%, #eb514a 92.86%, #f44336 100%);
background-image: linear-gradient(90deg in oklab, #2196f3 0%, #f44336 100%);
}bg-linear-to-r/oklab from-[#2196f3] to-[#f44336]
<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="#2196f3"/><stop offset="7.14%" stop-color="#4894e7"/><stop offset="14.29%" stop-color="#6092db"/><stop offset="21.43%" stop-color="#738fcf"/><stop offset="28.57%" stop-color="#838cc3"/><stop offset="35.71%" stop-color="#9288b7"/><stop offset="42.86%" stop-color="#9f84ab"/><stop offset="50%" stop-color="#ab7f9f"/><stop offset="57.14%" stop-color="#b77a92"/><stop offset="64.29%" stop-color="#c27485"/><stop offset="71.43%" stop-color="#cd6d78"/><stop offset="78.57%" stop-color="#d7656a"/><stop offset="85.71%" stop-color="#e15c5b"/><stop offset="92.86%" stop-color="#eb514a"/><stop offset="100%" stop-color="#f44336"/></linearGradient></defs><rect width="1440" height="600" fill="url(#bs-gradient)"/></svg>
{
"politics": {
"$type": "gradient",
"$value": [
{
"color": {
"colorSpace": "srgb",
"components": [
0.129,
0.588,
0.953
],
"hex": "#2196f3"
},
"position": 0
},
{
"color": {
"colorSpace": "srgb",
"components": [
0.957,
0.263,
0.212
],
"hex": "#f44336"
},
"position": 1
}
],
"$extensions": {
"com.brandsweets": {
"kind": "linear",
"css": "linear-gradient(90deg in oklab, #2196f3 0%, #f44336 100%)",
"interpolation": "oklab",
"angle": 90,
"name": "Politics",
"contrast": {
"white": {
"ratio": 3.116,
"at": 0.0151,
"passesAA": false,
"passesAALarge": true
},
"black": {
"ratio": 5.693,
"at": 0.9962,
"passesAA": true,
"passesAALarge": true
},
"suggestedInk": "#000000"
}
}
},
"$description": "Politics (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 Politics gradient (#2196f3, #f44336), 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