Named gradient · uiGradients
Witching Hour
Witching Hour is a red gradient from uiGradients (MIT) — #c31432 → #240b36 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 6.06:1 at 0% (AA); black ink: worst 1.18:1 at 100% (fails AA) → use white text.
- Banding medium: ~9px bands at 1440px — add grain 18 (≈2% soft-light noise) or shorten the ramp.
Export
.gradient {
background-image: linear-gradient(90deg, #c31432 0%, #b61735 7.14%, #aa1a37 14.29%, #9e1b38 21.43%, #921c39 28.57%, #861c3a 35.71%, #7a1c3b 42.86%, #6e1b3b 50%, #631a3b 57.14%, #58193a 64.29%, #4d173a 71.43%, #421539 78.57%, #381238 85.71%, #2e0f37 92.86%, #240b36 100%);
background-image: linear-gradient(90deg in oklab, #c31432 0%, #240b36 100%);
}bg-linear-to-r/oklab from-[#c31432] to-[#240b36]
<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="#c31432"/><stop offset="7.14%" stop-color="#b61735"/><stop offset="14.29%" stop-color="#aa1a37"/><stop offset="21.43%" stop-color="#9e1b38"/><stop offset="28.57%" stop-color="#921c39"/><stop offset="35.71%" stop-color="#861c3a"/><stop offset="42.86%" stop-color="#7a1c3b"/><stop offset="50%" stop-color="#6e1b3b"/><stop offset="57.14%" stop-color="#631a3b"/><stop offset="64.29%" stop-color="#58193a"/><stop offset="71.43%" stop-color="#4d173a"/><stop offset="78.57%" stop-color="#421539"/><stop offset="85.71%" stop-color="#381238"/><stop offset="92.86%" stop-color="#2e0f37"/><stop offset="100%" stop-color="#240b36"/></linearGradient></defs><rect width="1440" height="600" fill="url(#bs-gradient)"/></svg>
{
"witching-hour": {
"$type": "gradient",
"$value": [
{
"color": {
"colorSpace": "srgb",
"components": [
0.765,
0.078,
0.196
],
"hex": "#c31432"
},
"position": 0
},
{
"color": {
"colorSpace": "srgb",
"components": [
0.141,
0.043,
0.212
],
"hex": "#240b36"
},
"position": 1
}
],
"$extensions": {
"com.brandsweets": {
"kind": "linear",
"css": "linear-gradient(90deg in oklab, #c31432 0%, #240b36 100%)",
"interpolation": "oklab",
"angle": 90,
"name": "Witching Hour",
"contrast": {
"white": {
"ratio": 6.058,
"at": 0,
"passesAA": true,
"passesAALarge": true
},
"black": {
"ratio": 1.176,
"at": 1,
"passesAA": false,
"passesAALarge": false
},
"suggestedInk": "#ffffff"
}
}
},
"$description": "Witching Hour (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 Witching Hour gradient (#c31432, #240b36), 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