Named gradient · uiGradients

Orange Fun

Orange Fun is a red gradient from uiGradients (MIT) — #fc4a1a → #f7b733 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.13:1 · AA
white 1.78 failsblack 6.13 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.78:1 at 100% (fails AA); black ink: worst 6.13:1 at 0% (AA) → use black text.
  • Banding high: ~13px bands at 1440px — add grain 28 (≈2% soft-light noise) or shorten the ramp.

Export

css
.gradient {
  background-image: linear-gradient(90deg, #fc4a1a 0%, #fc541c 7.14%, #fd5e1e 14.29%, #fd671f 21.43%, #fd6f21 28.57%, #fd7723 35.71%, #fd7f25 42.86%, #fc8627 50%, #fc8e28 57.14%, #fc952a 64.29%, #fb9c2c 71.43%, #faa32e 78.57%, #f9aa2f 85.71%, #f8b031 92.86%, #f7b733 100%);
  background-image: linear-gradient(90deg in oklab, #fc4a1a 0%, #f7b733 100%);
}
tailwind v4
bg-linear-to-r/oklab from-[#fc4a1a] to-[#f7b733]
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="#fc4a1a"/><stop offset="7.14%" stop-color="#fc541c"/><stop offset="14.29%" stop-color="#fd5e1e"/><stop offset="21.43%" stop-color="#fd671f"/><stop offset="28.57%" stop-color="#fd6f21"/><stop offset="35.71%" stop-color="#fd7723"/><stop offset="42.86%" stop-color="#fd7f25"/><stop offset="50%" stop-color="#fc8627"/><stop offset="57.14%" stop-color="#fc8e28"/><stop offset="64.29%" stop-color="#fc952a"/><stop offset="71.43%" stop-color="#fb9c2c"/><stop offset="78.57%" stop-color="#faa32e"/><stop offset="85.71%" stop-color="#f9aa2f"/><stop offset="92.86%" stop-color="#f8b031"/><stop offset="100%" stop-color="#f7b733"/></linearGradient></defs><rect width="1440" height="600" fill="url(#bs-gradient)"/></svg>
dtcg
{
  "orange-fun": {
    "$type": "gradient",
    "$value": [
      {
        "color": {
          "colorSpace": "srgb",
          "components": [
            0.988,
            0.29,
            0.102
          ],
          "hex": "#fc4a1a"
        },
        "position": 0
      },
      {
        "color": {
          "colorSpace": "srgb",
          "components": [
            0.969,
            0.718,
            0.2
          ],
          "hex": "#f7b733"
        },
        "position": 1
      }
    ],
    "$extensions": {
      "com.brandsweets": {
        "kind": "linear",
        "css": "linear-gradient(90deg in oklab, #fc4a1a 0%, #f7b733 100%)",
        "interpolation": "oklab",
        "angle": 90,
        "name": "Orange Fun",
        "contrast": {
          "white": {
            "ratio": 1.783,
            "at": 1,
            "passesAA": false,
            "passesAALarge": false
          },
          "black": {
            "ratio": 6.134,
            "at": 0,
            "passesAA": true,
            "passesAALarge": true
          },
          "suggestedInk": "#000000"
        }
      }
    },
    "$description": "Orange Fun (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 Orange Fun gradient (#fc4a1a, #f7b733), 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