Named gradient · uiGradients

Candy

Candy is a pink gradient from uiGradients (MIT) — #d3959b → #bfe6ba 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.

Aa — the quick brown fox
black text · worst 8.54:1 · AA
white 1.38 failsblack 8.54 AAbanding high

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.

sRGB39%
OKLab42%
OKLCH97%

Report

  • white ink: worst 1.38:1 at 100% (fails AA); black ink: worst 8.54:1 at 0% (AA) → use black text.
  • Banding high: ~18px bands at 1440px — add grain 36 (≈2% soft-light noise) or shorten the ramp.

Export

css
.gradient {
  background-image: linear-gradient(90deg, #d3959b 0%, #d39b9d 7.14%, #d2a19f 14.29%, #d1a7a2 21.43%, #d0ada4 28.57%, #cfb2a6 35.71%, #ceb8a8 42.86%, #cdbeab 50%, #cbc4ad 57.14%, #cacaaf 64.29%, #c8cfb1 71.43%, #c6d5b3 78.57%, #c4dbb6 85.71%, #c2e0b8 92.86%, #bfe6ba 100%);
  background-image: linear-gradient(90deg in oklab, #d3959b 0%, #bfe6ba 100%);
}
tailwind v4
bg-linear-to-r/oklab from-[#d3959b] to-[#bfe6ba]
svg
<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="#d3959b"/><stop offset="7.14%" stop-color="#d39b9d"/><stop offset="14.29%" stop-color="#d2a19f"/><stop offset="21.43%" stop-color="#d1a7a2"/><stop offset="28.57%" stop-color="#d0ada4"/><stop offset="35.71%" stop-color="#cfb2a6"/><stop offset="42.86%" stop-color="#ceb8a8"/><stop offset="50%" stop-color="#cdbeab"/><stop offset="57.14%" stop-color="#cbc4ad"/><stop offset="64.29%" stop-color="#cacaaf"/><stop offset="71.43%" stop-color="#c8cfb1"/><stop offset="78.57%" stop-color="#c6d5b3"/><stop offset="85.71%" stop-color="#c4dbb6"/><stop offset="92.86%" stop-color="#c2e0b8"/><stop offset="100%" stop-color="#bfe6ba"/></linearGradient></defs><rect width="1440" height="600" fill="url(#bs-gradient)"/></svg>
dtcg
{
  "candy": {
    "$type": "gradient",
    "$value": [
      {
        "color": {
          "colorSpace": "srgb",
          "components": [
            0.827,
            0.584,
            0.608
          ],
          "hex": "#d3959b"
        },
        "position": 0
      },
      {
        "color": {
          "colorSpace": "srgb",
          "components": [
            0.749,
            0.902,
            0.729
          ],
          "hex": "#bfe6ba"
        },
        "position": 1
      }
    ],
    "$extensions": {
      "com.brandsweets": {
        "kind": "linear",
        "css": "linear-gradient(90deg in oklab, #d3959b 0%, #bfe6ba 100%)",
        "interpolation": "oklab",
        "angle": 90,
        "name": "Candy",
        "contrast": {
          "white": {
            "ratio": 1.378,
            "at": 1,
            "passesAA": false,
            "passesAALarge": false
          },
          "black": {
            "ratio": 8.542,
            "at": 0,
            "passesAA": true,
            "passesAALarge": true
          },
          "suggestedInk": "#000000"
        }
      }
    },
    "$description": "Candy (uiGradients, MIT), rendered in OKLab."
  }
}

Tagged

More pink gradients

mcpConnect your agent to the gradient engine
live endpoint

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.

endpointhttps://mcp.brandsweets.com/gradients/mcp
claude mcp add --transport http brandsweets-gradients https://mcp.brandsweets.com/gradients/mcp
try this prompt

take the Candy gradient (#d3959b, #bfe6ba), 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