Named gradient · uiGradients

Dance To Forget

Dance To Forget is a red gradient from uiGradients (MIT) — #ff4e50 → #f9d423 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 6.46:1 · AA
white 1.45 failsblack 6.46 AAbanding medium

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.

sRGB81%
OKLab79%
OKLCH88%

Report

  • white ink: worst 1.45:1 at 100% (fails AA); black ink: worst 6.46:1 at 0% (AA) → use black text.
  • Banding medium: ~11px bands at 1440px — add grain 22 (≈2% soft-light noise) or shorten the ramp.

Export

css
.gradient {
  background-image: linear-gradient(90deg, #ff4e50 0%, #ff5b4f 7.14%, #ff664e 14.29%, #ff714c 21.43%, #ff7b4b 28.57%, #ff8549 35.71%, #ff8f47 42.86%, #ff9844 50%, #ffa142 57.14%, #ffaa3e 64.29%, #ffb23b 71.43%, #febb36 78.57%, #fcc331 85.71%, #fbcc2b 92.86%, #f9d423 100%);
  background-image: linear-gradient(90deg in oklab, #ff4e50 0%, #f9d423 100%);
}
tailwind v4
bg-linear-to-r/oklab from-[#ff4e50] to-[#f9d423]
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="#ff4e50"/><stop offset="7.14%" stop-color="#ff5b4f"/><stop offset="14.29%" stop-color="#ff664e"/><stop offset="21.43%" stop-color="#ff714c"/><stop offset="28.57%" stop-color="#ff7b4b"/><stop offset="35.71%" stop-color="#ff8549"/><stop offset="42.86%" stop-color="#ff8f47"/><stop offset="50%" stop-color="#ff9844"/><stop offset="57.14%" stop-color="#ffa142"/><stop offset="64.29%" stop-color="#ffaa3e"/><stop offset="71.43%" stop-color="#ffb23b"/><stop offset="78.57%" stop-color="#febb36"/><stop offset="85.71%" stop-color="#fcc331"/><stop offset="92.86%" stop-color="#fbcc2b"/><stop offset="100%" stop-color="#f9d423"/></linearGradient></defs><rect width="1440" height="600" fill="url(#bs-gradient)"/></svg>
dtcg
{
  "dance-to-forget-ui": {
    "$type": "gradient",
    "$value": [
      {
        "color": {
          "colorSpace": "srgb",
          "components": [
            1,
            0.306,
            0.314
          ],
          "hex": "#ff4e50"
        },
        "position": 0
      },
      {
        "color": {
          "colorSpace": "srgb",
          "components": [
            0.976,
            0.831,
            0.137
          ],
          "hex": "#f9d423"
        },
        "position": 1
      }
    ],
    "$extensions": {
      "com.brandsweets": {
        "kind": "linear",
        "css": "linear-gradient(90deg in oklab, #ff4e50 0%, #f9d423 100%)",
        "interpolation": "oklab",
        "angle": 90,
        "name": "Dance To Forget",
        "contrast": {
          "white": {
            "ratio": 1.451,
            "at": 1,
            "passesAA": false,
            "passesAALarge": false
          },
          "black": {
            "ratio": 6.458,
            "at": 0,
            "passesAA": true,
            "passesAALarge": true
          },
          "suggestedInk": "#000000"
        }
      }
    },
    "$description": "Dance To Forget (uiGradients, MIT), rendered in OKLab."
  }
}

Tagged

More red 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 Dance To Forget gradient (#ff4e50, #f9d423), 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