Named gradient · uiGradients

Ed's Sunset Gradient

Ed's Sunset Gradient is a red gradient from uiGradients (MIT) — #ff7e5f → #feb47b 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 8.40:1 · AA
white 1.75 failsblack 8.40 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.

sRGB82%
OKLab82%
OKLCH82%

Report

  • white ink: worst 1.75:1 at 100% (fails AA); black ink: worst 8.40: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(90deg, #ff7e5f 0%, #ff8261 7.14%, #ff8663 14.29%, #ff8a65 21.43%, #ff8e67 28.57%, #ff9269 35.71%, #ff966b 42.86%, #ff9a6d 50%, #ff9e6f 57.14%, #ffa171 64.29%, #ffa573 71.43%, #ffa975 78.57%, #ffad77 85.71%, #feb079 92.86%, #feb47b 100%);
  background-image: linear-gradient(90deg in oklab, #ff7e5f 0%, #feb47b 100%);
}
tailwind v4
bg-linear-to-r/oklab from-[#ff7e5f] to-[#feb47b]
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="#ff7e5f"/><stop offset="7.14%" stop-color="#ff8261"/><stop offset="14.29%" stop-color="#ff8663"/><stop offset="21.43%" stop-color="#ff8a65"/><stop offset="28.57%" stop-color="#ff8e67"/><stop offset="35.71%" stop-color="#ff9269"/><stop offset="42.86%" stop-color="#ff966b"/><stop offset="50%" stop-color="#ff9a6d"/><stop offset="57.14%" stop-color="#ff9e6f"/><stop offset="64.29%" stop-color="#ffa171"/><stop offset="71.43%" stop-color="#ffa573"/><stop offset="78.57%" stop-color="#ffa975"/><stop offset="85.71%" stop-color="#ffad77"/><stop offset="92.86%" stop-color="#feb079"/><stop offset="100%" stop-color="#feb47b"/></linearGradient></defs><rect width="1440" height="600" fill="url(#bs-gradient)"/></svg>
dtcg
{
  "ed-s-sunset-gradient": {
    "$type": "gradient",
    "$value": [
      {
        "color": {
          "colorSpace": "srgb",
          "components": [
            1,
            0.494,
            0.373
          ],
          "hex": "#ff7e5f"
        },
        "position": 0
      },
      {
        "color": {
          "colorSpace": "srgb",
          "components": [
            0.996,
            0.706,
            0.482
          ],
          "hex": "#feb47b"
        },
        "position": 1
      }
    ],
    "$extensions": {
      "com.brandsweets": {
        "kind": "linear",
        "css": "linear-gradient(90deg in oklab, #ff7e5f 0%, #feb47b 100%)",
        "interpolation": "oklab",
        "angle": 90,
        "name": "Ed's Sunset Gradient",
        "contrast": {
          "white": {
            "ratio": 1.746,
            "at": 1,
            "passesAA": false,
            "passesAALarge": false
          },
          "black": {
            "ratio": 8.402,
            "at": 0,
            "passesAA": true,
            "passesAALarge": true
          },
          "suggestedInk": "#000000"
        }
      }
    },
    "$description": "Ed's Sunset Gradient (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 Ed's Sunset Gradient gradient (#ff7e5f, #feb47b), 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