Named gradient · uiGradients
The Strain
The Strain is a red gradient from uiGradients (MIT) — #870000 → #190a05 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 10.34:1 at 0% (AA); black ink: worst 1.09:1 at 100% (fails AA) → use white text.
- Banding medium: ~13px bands at 1440px — add grain 27 (≈2% soft-light noise) or shorten the ramp.
Export
.gradient {
background-image: linear-gradient(90deg, #870000 0%, #7e0402 7.14%, #760703 14.29%, #6e0a04 21.43%, #650c05 28.57%, #5d0d05 35.71%, #550e06 42.86%, #4d0e06 50%, #450e06 57.14%, #3e0e06 64.29%, #360e06 71.43%, #2f0d06 78.57%, #270c06 85.71%, #200b05 92.86%, #190a05 100%);
background-image: linear-gradient(90deg in oklab, #870000 0%, #190a05 100%);
}bg-linear-to-r/oklab from-[#870000] to-[#190a05]
<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="#870000"/><stop offset="7.14%" stop-color="#7e0402"/><stop offset="14.29%" stop-color="#760703"/><stop offset="21.43%" stop-color="#6e0a04"/><stop offset="28.57%" stop-color="#650c05"/><stop offset="35.71%" stop-color="#5d0d05"/><stop offset="42.86%" stop-color="#550e06"/><stop offset="50%" stop-color="#4d0e06"/><stop offset="57.14%" stop-color="#450e06"/><stop offset="64.29%" stop-color="#3e0e06"/><stop offset="71.43%" stop-color="#360e06"/><stop offset="78.57%" stop-color="#2f0d06"/><stop offset="85.71%" stop-color="#270c06"/><stop offset="92.86%" stop-color="#200b05"/><stop offset="100%" stop-color="#190a05"/></linearGradient></defs><rect width="1440" height="600" fill="url(#bs-gradient)"/></svg>
{
"the-strain": {
"$type": "gradient",
"$value": [
{
"color": {
"colorSpace": "srgb",
"components": [
0.529,
0,
0
],
"hex": "#870000"
},
"position": 0
},
{
"color": {
"colorSpace": "srgb",
"components": [
0.098,
0.039,
0.02
],
"hex": "#190a05"
},
"position": 1
}
],
"$extensions": {
"com.brandsweets": {
"kind": "linear",
"css": "linear-gradient(90deg in oklab, #870000 0%, #190a05 100%)",
"interpolation": "oklab",
"angle": 90,
"name": "The Strain",
"contrast": {
"white": {
"ratio": 10.344,
"at": 0,
"passesAA": true,
"passesAALarge": true
},
"black": {
"ratio": 1.087,
"at": 1,
"passesAA": false,
"passesAALarge": false
},
"suggestedInk": "#ffffff"
}
}
},
"$description": "The Strain (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 The Strain gradient (#870000, #190a05), 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