Named gradient · WebGradients

Sugar Lollipop

Sugar Lollipop is a pink gradient from WebGradients (MIT) — #a445b2 → #d41872 → #ff0066 at 135°. 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 4.06:1 · AA large
white 3.86 AA largeblack 4.06 AA largebanding 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.

sRGB84%
OKLab83%
OKLCH84%

Report

  • white ink: worst 3.86:1 at 100% (AA-large only); black ink: worst 4.06:1 at 5% (AA-large only) → use black text.
  • Body text fails AA everywhere on this gradient; large text (≥24px / 19px bold) is fine. Add a scrim or lower the chroma for body copy.
  • Banding high: ~16px bands at 1440px — add grain 33 (≈2% soft-light noise) or shorten the ramp.

Export

css
.gradient {
  background-image: linear-gradient(135deg, #a445b2 0%, #a744ae 3.71%, #ab42a9 7.43%, #ae41a5 11.14%, #b23fa0 14.86%, #b53d9c 18.57%, #b93b97 22.29%, #bc3893 26%, #c0368e 29.71%, #c3328a 33.43%, #c62f85 37.14%, #ca2b80 40.86%, #cd267c 44.57%, #d12077 48.29%, #d41872 52%, #d71771 55.43%, #da1771 58.86%, #dd1670 62.29%, #e0156f 65.71%, #e3146e 69.14%, #e6136d 72.57%, #e9116d 76%, #ec106c 79.43%, #ef0e6b 82.86%, #f30c6a 86.29%, #f60969 89.71%, #f90668 93.14%, #fc0367 96.57%, #ff0066 100%);
  background-image: linear-gradient(135deg in oklab, #a445b2 0%, #d41872 52%, #ff0066 100%);
}
tailwind v4
bg-linear-to-br/oklab from-[#a445b2] via-[#d41872] via-52% to-[#ff0066]
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="210" y1="-210" x2="1230" y2="810"><stop offset="0%" stop-color="#a445b2"/><stop offset="3.71%" stop-color="#a744ae"/><stop offset="7.43%" stop-color="#ab42a9"/><stop offset="11.14%" stop-color="#ae41a5"/><stop offset="14.86%" stop-color="#b23fa0"/><stop offset="18.57%" stop-color="#b53d9c"/><stop offset="22.29%" stop-color="#b93b97"/><stop offset="26%" stop-color="#bc3893"/><stop offset="29.71%" stop-color="#c0368e"/><stop offset="33.43%" stop-color="#c3328a"/><stop offset="37.14%" stop-color="#c62f85"/><stop offset="40.86%" stop-color="#ca2b80"/><stop offset="44.57%" stop-color="#cd267c"/><stop offset="48.29%" stop-color="#d12077"/><stop offset="52%" stop-color="#d41872"/><stop offset="55.43%" stop-color="#d71771"/><stop offset="58.86%" stop-color="#da1771"/><stop offset="62.29%" stop-color="#dd1670"/><stop offset="65.71%" stop-color="#e0156f"/><stop offset="69.14%" stop-color="#e3146e"/><stop offset="72.57%" stop-color="#e6136d"/><stop offset="76%" stop-color="#e9116d"/><stop offset="79.43%" stop-color="#ec106c"/><stop offset="82.86%" stop-color="#ef0e6b"/><stop offset="86.29%" stop-color="#f30c6a"/><stop offset="89.71%" stop-color="#f60969"/><stop offset="93.14%" stop-color="#f90668"/><stop offset="96.57%" stop-color="#fc0367"/><stop offset="100%" stop-color="#ff0066"/></linearGradient></defs><rect width="1440" height="600" fill="url(#bs-gradient)"/></svg>
dtcg
{
  "sugar-lollipop": {
    "$type": "gradient",
    "$value": [
      {
        "color": {
          "colorSpace": "srgb",
          "components": [
            0.643,
            0.271,
            0.698
          ],
          "hex": "#a445b2"
        },
        "position": 0
      },
      {
        "color": {
          "colorSpace": "srgb",
          "components": [
            0.831,
            0.094,
            0.447
          ],
          "hex": "#d41872"
        },
        "position": 0.52
      },
      {
        "color": {
          "colorSpace": "srgb",
          "components": [
            1,
            0,
            0.4
          ],
          "hex": "#ff0066"
        },
        "position": 1
      }
    ],
    "$extensions": {
      "com.brandsweets": {
        "kind": "linear",
        "css": "linear-gradient(135deg in oklab, #a445b2 0%, #d41872 52%, #ff0066 100%)",
        "interpolation": "oklab",
        "angle": 135,
        "name": "Sugar Lollipop",
        "contrast": {
          "white": {
            "ratio": 3.858,
            "at": 1,
            "passesAA": false,
            "passesAALarge": true
          },
          "black": {
            "ratio": 4.064,
            "at": 0.0476,
            "passesAA": false,
            "passesAALarge": true
          },
          "suggestedInk": "#000000"
        }
      }
    },
    "$description": "Sugar Lollipop (WebGradients, 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 Sugar Lollipop gradient (#a445b2, #d41872, #ff0066), 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 WebGradients (MIT) — licences