Named gradient · WebGradients

Alchemist Lab

Alchemist Lab is a pink gradient from WebGradients (MIT) — #d558c8 → #24d292 at 340°. 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 6.06:1 · AA
white 1.96 failsblack 6.06 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.

sRGB25%
OKLab9%
OKLCH70%

Report

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

Export

css
.gradient {
  background-image: linear-gradient(340deg, #d558c8 0%, #cf65c5 7.14%, #ca71c2 14.29%, #c37bbf 21.43%, #bc85bb 28.57%, #b58eb8 35.71%, #ad97b4 42.86%, #a49fb0 50%, #9ba7ad 57.14%, #90afa9 64.29%, #83b6a5 71.43%, #75bda0 78.57%, #63c49c 85.71%, #4ccb97 92.86%, #24d292 100%);
  background-image: linear-gradient(340deg in oklab, #d558c8 0%, #24d292 100%);
}
tailwind v4
bg-linear-340/oklab from-[#d558c8] to-[#24d292]
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="900.6421" y1="796.3102" x2="539.3579" y2="-196.3102"><stop offset="0%" stop-color="#d558c8"/><stop offset="7.14%" stop-color="#cf65c5"/><stop offset="14.29%" stop-color="#ca71c2"/><stop offset="21.43%" stop-color="#c37bbf"/><stop offset="28.57%" stop-color="#bc85bb"/><stop offset="35.71%" stop-color="#b58eb8"/><stop offset="42.86%" stop-color="#ad97b4"/><stop offset="50%" stop-color="#a49fb0"/><stop offset="57.14%" stop-color="#9ba7ad"/><stop offset="64.29%" stop-color="#90afa9"/><stop offset="71.43%" stop-color="#83b6a5"/><stop offset="78.57%" stop-color="#75bda0"/><stop offset="85.71%" stop-color="#63c49c"/><stop offset="92.86%" stop-color="#4ccb97"/><stop offset="100%" stop-color="#24d292"/></linearGradient></defs><rect width="1440" height="600" fill="url(#bs-gradient)"/></svg>
dtcg
{
  "alchemist-lab": {
    "$type": "gradient",
    "$value": [
      {
        "color": {
          "colorSpace": "srgb",
          "components": [
            0.835,
            0.345,
            0.784
          ],
          "hex": "#d558c8"
        },
        "position": 0
      },
      {
        "color": {
          "colorSpace": "srgb",
          "components": [
            0.141,
            0.824,
            0.573
          ],
          "hex": "#24d292"
        },
        "position": 1
      }
    ],
    "$extensions": {
      "com.brandsweets": {
        "kind": "linear",
        "css": "linear-gradient(340deg in oklab, #d558c8 0%, #24d292 100%)",
        "interpolation": "oklab",
        "angle": 340,
        "name": "Alchemist Lab",
        "contrast": {
          "white": {
            "ratio": 1.961,
            "at": 1,
            "passesAA": false,
            "passesAALarge": false
          },
          "black": {
            "ratio": 6.059,
            "at": 0,
            "passesAA": true,
            "passesAALarge": true
          },
          "suggestedInk": "#000000"
        }
      }
    },
    "$description": "Alchemist Lab (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 Alchemist Lab gradient (#d558c8, #24d292), 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