Named gradient · uiGradients

Flame

Flame is a red gradient from uiGradients (MIT) — #ff0000 → #fdcf58 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 5.25:1 · AA
white 1.47 failsblack 5.25 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.

sRGB71%
OKLab72%
OKLCH72%

Report

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

Export

css
.gradient {
  background-image: linear-gradient(90deg, #ff0000 0%, #ff2d0b 7.14%, #ff4214 14.29%, #ff531c 21.43%, #ff6122 28.57%, #ff6e29 35.71%, #ff7b2e 42.86%, #ff8634 50%, #ff9139 57.14%, #ff9c3f 64.29%, #ffa744 71.43%, #ffb149 78.57%, #ffbb4e 85.71%, #ffc553 92.86%, #fdcf58 100%);
  background-image: linear-gradient(90deg in oklab, #ff0000 0%, #fdcf58 100%);
}
tailwind v4
bg-linear-to-r/oklab from-[#ff0000] to-[#fdcf58]
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="#ff0000"/><stop offset="7.14%" stop-color="#ff2d0b"/><stop offset="14.29%" stop-color="#ff4214"/><stop offset="21.43%" stop-color="#ff531c"/><stop offset="28.57%" stop-color="#ff6122"/><stop offset="35.71%" stop-color="#ff6e29"/><stop offset="42.86%" stop-color="#ff7b2e"/><stop offset="50%" stop-color="#ff8634"/><stop offset="57.14%" stop-color="#ff9139"/><stop offset="64.29%" stop-color="#ff9c3f"/><stop offset="71.43%" stop-color="#ffa744"/><stop offset="78.57%" stop-color="#ffb149"/><stop offset="85.71%" stop-color="#ffbb4e"/><stop offset="92.86%" stop-color="#ffc553"/><stop offset="100%" stop-color="#fdcf58"/></linearGradient></defs><rect width="1440" height="600" fill="url(#bs-gradient)"/></svg>
dtcg
{
  "flame": {
    "$type": "gradient",
    "$value": [
      {
        "color": {
          "colorSpace": "srgb",
          "components": [
            1,
            0,
            0
          ],
          "hex": "#ff0000"
        },
        "position": 0
      },
      {
        "color": {
          "colorSpace": "srgb",
          "components": [
            0.992,
            0.812,
            0.345
          ],
          "hex": "#fdcf58"
        },
        "position": 1
      }
    ],
    "$extensions": {
      "com.brandsweets": {
        "kind": "linear",
        "css": "linear-gradient(90deg in oklab, #ff0000 0%, #fdcf58 100%)",
        "interpolation": "oklab",
        "angle": 90,
        "name": "Flame",
        "contrast": {
          "white": {
            "ratio": 1.474,
            "at": 1,
            "passesAA": false,
            "passesAALarge": false
          },
          "black": {
            "ratio": 5.252,
            "at": 0,
            "passesAA": true,
            "passesAALarge": true
          },
          "suggestedInk": "#000000"
        }
      }
    },
    "$description": "Flame (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 Flame gradient (#ff0000, #fdcf58), 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