Named gradient · uiGradients
Dracula
Dracula is a red gradient from uiGradients (MIT) — #dc2424 → #4a569d 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.86:1 at 0% (AA); black ink: worst 3.11:1 at 100% (AA-large only) → use white text.
- Banding high: ~10px bands at 1440px — add grain 20 (≈2% soft-light noise) or shorten the ramp.
Export
.gradient {
background-image: linear-gradient(90deg, #dc2424 0%, #d23134 7.14%, #c93a40 14.29%, #bf404b 21.43%, #b54654 28.57%, #ac4a5d 35.71%, #a24e65 42.86%, #98516d 50%, #8e5374 57.14%, #83557c 64.29%, #795683 71.43%, #6e5689 78.57%, #635790 85.71%, #575797 92.86%, #4a569d 100%);
background-image: linear-gradient(90deg in oklab, #dc2424 0%, #4a569d 100%);
}bg-linear-to-r/oklab from-[#dc2424] to-[#4a569d]
<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="#dc2424"/><stop offset="7.14%" stop-color="#d23134"/><stop offset="14.29%" stop-color="#c93a40"/><stop offset="21.43%" stop-color="#bf404b"/><stop offset="28.57%" stop-color="#b54654"/><stop offset="35.71%" stop-color="#ac4a5d"/><stop offset="42.86%" stop-color="#a24e65"/><stop offset="50%" stop-color="#98516d"/><stop offset="57.14%" stop-color="#8e5374"/><stop offset="64.29%" stop-color="#83557c"/><stop offset="71.43%" stop-color="#795683"/><stop offset="78.57%" stop-color="#6e5689"/><stop offset="85.71%" stop-color="#635790"/><stop offset="92.86%" stop-color="#575797"/><stop offset="100%" stop-color="#4a569d"/></linearGradient></defs><rect width="1440" height="600" fill="url(#bs-gradient)"/></svg>
{
"dracula": {
"$type": "gradient",
"$value": [
{
"color": {
"colorSpace": "srgb",
"components": [
0.863,
0.141,
0.141
],
"hex": "#dc2424"
},
"position": 0
},
{
"color": {
"colorSpace": "srgb",
"components": [
0.29,
0.337,
0.616
],
"hex": "#4a569d"
},
"position": 1
}
],
"$extensions": {
"com.brandsweets": {
"kind": "linear",
"css": "linear-gradient(90deg in oklab, #dc2424 0%, #4a569d 100%)",
"interpolation": "oklab",
"angle": 90,
"name": "Dracula",
"contrast": {
"white": {
"ratio": 4.86,
"at": 0,
"passesAA": true,
"passesAALarge": true
},
"black": {
"ratio": 3.109,
"at": 1,
"passesAA": false,
"passesAALarge": true
},
"suggestedInk": "#ffffff"
}
}
},
"$description": "Dracula (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 Dracula gradient (#dc2424, #4a569d), 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