Named gradient · uiGradients
Broken Hearts
Broken Hearts is a pink gradient from uiGradients (MIT) — #d9a7c7 → #fffcdc 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 1.04:1 at 100% (fails AA); black ink: worst 10.30:1 at 0% (AA) → use black text.
- White text disappears completely at 100% (1.00:1 crossing).
- Banding medium: ~17px bands at 1440px — add grain 35 (≈2% soft-light noise) or shorten the ramp.
Export
.gradient {
background-image: linear-gradient(90deg, #d9a7c7 0%, #dcadc9 7.14%, #dfb3ca 14.29%, #e1b9cc 21.43%, #e4bfce 28.57%, #e7c5cf 35.71%, #eacbd1 42.86%, #edd1d2 50%, #efd7d4 57.14%, #f2ddd5 64.29%, #f5e4d7 71.43%, #f7ead8 78.57%, #faf0d9 85.71%, #fcf6db 92.86%, #fffcdc 100%);
background-image: linear-gradient(90deg in oklab, #d9a7c7 0%, #fffcdc 100%);
}bg-linear-to-r/oklab from-[#d9a7c7] to-[#fffcdc]
<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="#d9a7c7"/><stop offset="7.14%" stop-color="#dcadc9"/><stop offset="14.29%" stop-color="#dfb3ca"/><stop offset="21.43%" stop-color="#e1b9cc"/><stop offset="28.57%" stop-color="#e4bfce"/><stop offset="35.71%" stop-color="#e7c5cf"/><stop offset="42.86%" stop-color="#eacbd1"/><stop offset="50%" stop-color="#edd1d2"/><stop offset="57.14%" stop-color="#efd7d4"/><stop offset="64.29%" stop-color="#f2ddd5"/><stop offset="71.43%" stop-color="#f5e4d7"/><stop offset="78.57%" stop-color="#f7ead8"/><stop offset="85.71%" stop-color="#faf0d9"/><stop offset="92.86%" stop-color="#fcf6db"/><stop offset="100%" stop-color="#fffcdc"/></linearGradient></defs><rect width="1440" height="600" fill="url(#bs-gradient)"/></svg>
{
"broken-hearts": {
"$type": "gradient",
"$value": [
{
"color": {
"colorSpace": "srgb",
"components": [
0.851,
0.655,
0.78
],
"hex": "#d9a7c7"
},
"position": 0
},
{
"color": {
"colorSpace": "srgb",
"components": [
1,
0.988,
0.863
],
"hex": "#fffcdc"
},
"position": 1
}
],
"$extensions": {
"com.brandsweets": {
"kind": "linear",
"css": "linear-gradient(90deg in oklab, #d9a7c7 0%, #fffcdc 100%)",
"interpolation": "oklab",
"angle": 90,
"name": "Broken Hearts",
"contrast": {
"white": {
"ratio": 1.039,
"at": 1,
"passesAA": false,
"passesAALarge": false
},
"black": {
"ratio": 10.303,
"at": 0,
"passesAA": true,
"passesAALarge": true
},
"suggestedInk": "#000000"
}
}
},
"$description": "Broken Hearts (uiGradients, MIT), rendered in OKLab."
}
}Tagged
More pink 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 Broken Hearts gradient (#d9a7c7, #fffcdc), 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