Named gradient · WebGradients

Mixed Hopes

Mixed Hopes is a pink gradient from WebGradients (MIT) — #c471f5 → #fa71cd at 0°. 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 7.03:1 · AA
white 2.53 failsblack 7.03 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.

sRGB97%
OKLab96%
OKLCH99%

Report

  • white ink: worst 2.53:1 at 100% (fails AA); black ink: worst 7.03:1 at 0% (AA) → use black text.
  • Banding high: ~27px bands at 1440px — add grain 49 (≈3% soft-light noise) or shorten the ramp.

Export

css
.gradient {
  background-image: linear-gradient(0deg, #c471f5 0%, #c871f2 7.14%, #cc72ef 14.29%, #d072ed 21.43%, #d372ea 28.57%, #d772e7 35.71%, #db73e4 42.86%, #df73e1 50%, #e373df 57.14%, #e772dc 64.29%, #eb72d9 71.43%, #ee72d6 78.57%, #f272d3 85.71%, #f671d0 92.86%, #fa71cd 100%);
  background-image: linear-gradient(0deg in oklab, #c471f5 0%, #fa71cd 100%);
}
tailwind v4
bg-linear-to-t/oklab from-[#c471f5] to-[#fa71cd]
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="720" y1="600" x2="720" y2="0"><stop offset="0%" stop-color="#c471f5"/><stop offset="7.14%" stop-color="#c871f2"/><stop offset="14.29%" stop-color="#cc72ef"/><stop offset="21.43%" stop-color="#d072ed"/><stop offset="28.57%" stop-color="#d372ea"/><stop offset="35.71%" stop-color="#d772e7"/><stop offset="42.86%" stop-color="#db73e4"/><stop offset="50%" stop-color="#df73e1"/><stop offset="57.14%" stop-color="#e373df"/><stop offset="64.29%" stop-color="#e772dc"/><stop offset="71.43%" stop-color="#eb72d9"/><stop offset="78.57%" stop-color="#ee72d6"/><stop offset="85.71%" stop-color="#f272d3"/><stop offset="92.86%" stop-color="#f671d0"/><stop offset="100%" stop-color="#fa71cd"/></linearGradient></defs><rect width="1440" height="600" fill="url(#bs-gradient)"/></svg>
dtcg
{
  "mixed-hopes": {
    "$type": "gradient",
    "$value": [
      {
        "color": {
          "colorSpace": "srgb",
          "components": [
            0.769,
            0.443,
            0.961
          ],
          "hex": "#c471f5"
        },
        "position": 0
      },
      {
        "color": {
          "colorSpace": "srgb",
          "components": [
            0.98,
            0.443,
            0.804
          ],
          "hex": "#fa71cd"
        },
        "position": 1
      }
    ],
    "$extensions": {
      "com.brandsweets": {
        "kind": "linear",
        "css": "linear-gradient(0deg in oklab, #c471f5 0%, #fa71cd 100%)",
        "interpolation": "oklab",
        "angle": 0,
        "name": "Mixed Hopes",
        "contrast": {
          "white": {
            "ratio": 2.528,
            "at": 1,
            "passesAA": false,
            "passesAALarge": false
          },
          "black": {
            "ratio": 7.028,
            "at": 0,
            "passesAA": true,
            "passesAALarge": true
          },
          "suggestedInk": "#000000"
        }
      }
    },
    "$description": "Mixed Hopes (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 Mixed Hopes gradient (#c471f5, #fa71cd), 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