Named gradient · uiGradients
Playing with Reds
Playing with Reds is a red gradient from uiGradients (MIT) — #d31027 → #ea384d 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 4.06:1 at 100% (AA-large only); black ink: worst 3.87:1 at 0% (AA-large only) → 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 high: ~36px bands at 1440px — add grain 50 (≈3% soft-light noise) or shorten the ramp.
Export
.gradient {
background-image: linear-gradient(90deg, #d31027 0%, #d5142a 7.14%, #d6182d 14.29%, #d81c30 21.43%, #da1f33 28.57%, #db2236 35.71%, #dd2538 42.86%, #de283b 50%, #e02a3e 57.14%, #e22d40 64.29%, #e32f43 71.43%, #e53145 78.57%, #e73448 85.71%, #e8364a 92.86%, #ea384d 100%);
background-image: linear-gradient(90deg in oklab, #d31027 0%, #ea384d 100%);
}bg-linear-to-r/oklab from-[#d31027] to-[#ea384d]
<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="#d31027"/><stop offset="7.14%" stop-color="#d5142a"/><stop offset="14.29%" stop-color="#d6182d"/><stop offset="21.43%" stop-color="#d81c30"/><stop offset="28.57%" stop-color="#da1f33"/><stop offset="35.71%" stop-color="#db2236"/><stop offset="42.86%" stop-color="#dd2538"/><stop offset="50%" stop-color="#de283b"/><stop offset="57.14%" stop-color="#e02a3e"/><stop offset="64.29%" stop-color="#e22d40"/><stop offset="71.43%" stop-color="#e32f43"/><stop offset="78.57%" stop-color="#e53145"/><stop offset="85.71%" stop-color="#e73448"/><stop offset="92.86%" stop-color="#e8364a"/><stop offset="100%" stop-color="#ea384d"/></linearGradient></defs><rect width="1440" height="600" fill="url(#bs-gradient)"/></svg>
{
"playing-with-reds": {
"$type": "gradient",
"$value": [
{
"color": {
"colorSpace": "srgb",
"components": [
0.827,
0.063,
0.153
],
"hex": "#d31027"
},
"position": 0
},
{
"color": {
"colorSpace": "srgb",
"components": [
0.918,
0.22,
0.302
],
"hex": "#ea384d"
},
"position": 1
}
],
"$extensions": {
"com.brandsweets": {
"kind": "linear",
"css": "linear-gradient(90deg in oklab, #d31027 0%, #ea384d 100%)",
"interpolation": "oklab",
"angle": 90,
"name": "Playing with Reds",
"contrast": {
"white": {
"ratio": 4.061,
"at": 1,
"passesAA": false,
"passesAALarge": true
},
"black": {
"ratio": 3.873,
"at": 0,
"passesAA": false,
"passesAALarge": true
},
"suggestedInk": "#ffffff"
}
}
},
"$description": "Playing with Reds (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 Playing with Reds gradient (#d31027, #ea384d), 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