Named gradient · uiGradients
Coal
Coal is a red gradient from uiGradients (MIT) — #eb5757 → #000000 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.48:1 at 0% (AA-large only); black ink: worst 1.00:1 at 94% (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.
- Black text disappears completely at 94% (1.00:1 crossing).
- Banding medium: ~6px bands at 1440px — add grain 11 (≈1% soft-light noise) or shorten the ramp.
Export
.gradient {
background-image: linear-gradient(90deg, #eb5757 0%, #d54e4e 7.14%, #bf4545 14.29%, #aa3d3d 21.43%, #963434 28.57%, #812c2c 35.71%, #6e2424 42.86%, #5b1c1c 50%, #481515 57.14%, #370e0e 64.29%, #260707 71.43%, #160303 78.57%, #080101 85.71%, #010000 92.86%, #000000 100%);
background-image: linear-gradient(90deg in oklab, #eb5757 0%, #000000 100%);
}bg-linear-to-r/oklab from-[#eb5757] to-[#000000]
<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="#eb5757"/><stop offset="7.14%" stop-color="#d54e4e"/><stop offset="14.29%" stop-color="#bf4545"/><stop offset="21.43%" stop-color="#aa3d3d"/><stop offset="28.57%" stop-color="#963434"/><stop offset="35.71%" stop-color="#812c2c"/><stop offset="42.86%" stop-color="#6e2424"/><stop offset="50%" stop-color="#5b1c1c"/><stop offset="57.14%" stop-color="#481515"/><stop offset="64.29%" stop-color="#370e0e"/><stop offset="71.43%" stop-color="#260707"/><stop offset="78.57%" stop-color="#160303"/><stop offset="85.71%" stop-color="#080101"/><stop offset="92.86%" stop-color="#010000"/><stop offset="100%" stop-color="#000000"/></linearGradient></defs><rect width="1440" height="600" fill="url(#bs-gradient)"/></svg>
{
"coal": {
"$type": "gradient",
"$value": [
{
"color": {
"colorSpace": "srgb",
"components": [
0.922,
0.341,
0.341
],
"hex": "#eb5757"
},
"position": 0
},
{
"color": {
"colorSpace": "srgb",
"components": [
0,
0,
0
],
"hex": "#000000"
},
"position": 1
}
],
"$extensions": {
"com.brandsweets": {
"kind": "linear",
"css": "linear-gradient(90deg in oklab, #eb5757 0%, #000000 100%)",
"interpolation": "oklab",
"angle": 90,
"name": "Coal",
"contrast": {
"white": {
"ratio": 3.481,
"at": 0,
"passesAA": false,
"passesAALarge": true
},
"black": {
"ratio": 1,
"at": 0.9444,
"passesAA": false,
"passesAALarge": false
},
"suggestedInk": "#ffffff"
}
}
},
"$description": "Coal (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 Coal gradient (#eb5757, #000000), 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