Named gradient · WebGradients

True Sunset

True Sunset is a pink gradient from WebGradients (MIT) — #fa709a → #fee140 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.85:1 · AA
white 1.31 failsblack 7.85 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.

sRGB72%
OKLab68%
OKLCH76%

Report

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

Export

css
.gradient {
  background-image: linear-gradient(0deg, #fa709a 0%, #fb7a97 7.14%, #fc8393 14.29%, #fd8b8f 21.43%, #fd948b 28.57%, #fe9c87 35.71%, #fea482 42.86%, #ffac7d 50%, #ffb477 57.14%, #ffbc71 64.29%, #ffc36a 71.43%, #ffcb62 78.57%, #ffd258 85.71%, #feda4d 92.86%, #fee140 100%);
  background-image: linear-gradient(0deg in oklab, #fa709a 0%, #fee140 100%);
}
tailwind v4
bg-linear-to-t/oklab from-[#fa709a] to-[#fee140]
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="#fa709a"/><stop offset="7.14%" stop-color="#fb7a97"/><stop offset="14.29%" stop-color="#fc8393"/><stop offset="21.43%" stop-color="#fd8b8f"/><stop offset="28.57%" stop-color="#fd948b"/><stop offset="35.71%" stop-color="#fe9c87"/><stop offset="42.86%" stop-color="#fea482"/><stop offset="50%" stop-color="#ffac7d"/><stop offset="57.14%" stop-color="#ffb477"/><stop offset="64.29%" stop-color="#ffbc71"/><stop offset="71.43%" stop-color="#ffc36a"/><stop offset="78.57%" stop-color="#ffcb62"/><stop offset="85.71%" stop-color="#ffd258"/><stop offset="92.86%" stop-color="#feda4d"/><stop offset="100%" stop-color="#fee140"/></linearGradient></defs><rect width="1440" height="600" fill="url(#bs-gradient)"/></svg>
dtcg
{
  "true-sunset": {
    "$type": "gradient",
    "$value": [
      {
        "color": {
          "colorSpace": "srgb",
          "components": [
            0.98,
            0.439,
            0.604
          ],
          "hex": "#fa709a"
        },
        "position": 0
      },
      {
        "color": {
          "colorSpace": "srgb",
          "components": [
            0.996,
            0.882,
            0.251
          ],
          "hex": "#fee140"
        },
        "position": 1
      }
    ],
    "$extensions": {
      "com.brandsweets": {
        "kind": "linear",
        "css": "linear-gradient(0deg in oklab, #fa709a 0%, #fee140 100%)",
        "interpolation": "oklab",
        "angle": 0,
        "name": "True Sunset",
        "contrast": {
          "white": {
            "ratio": 1.308,
            "at": 1,
            "passesAA": false,
            "passesAALarge": false
          },
          "black": {
            "ratio": 7.849,
            "at": 0,
            "passesAA": true,
            "passesAALarge": true
          },
          "suggestedInk": "#000000"
        }
      }
    },
    "$description": "True Sunset (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 True Sunset gradient (#fa709a, #fee140), 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