Named gradient · uiGradients

Html

Html is a red gradient from uiGradients (MIT) — #e44d26 → #f16529 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.39:1 · AA
white 3.17 AA largeblack 5.39 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.

sRGB98%
OKLab98%
OKLCH98%

Report

  • white ink: worst 3.17:1 at 98% (AA-large only); black ink: worst 5.39:1 at 0% (AA) → use black text.
  • Banding high: ~60px bands at 1440px — add grain 50 (≈3% soft-light noise) or shorten the ramp.

Export

css
.gradient {
  background-image: linear-gradient(90deg, #e44d26 0%, #e54f26 7.14%, #e65126 14.29%, #e75227 21.43%, #e85427 28.57%, #e95627 35.71%, #ea5827 42.86%, #eb5928 50%, #eb5b28 57.14%, #ec5d28 64.29%, #ed5e28 71.43%, #ee6028 78.57%, #ef6229 85.71%, #f06329 92.86%, #f16529 100%);
  background-image: linear-gradient(90deg in oklab, #e44d26 0%, #f16529 100%);
}
tailwind v4
bg-linear-to-r/oklab from-[#e44d26] to-[#f16529]
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="#e44d26"/><stop offset="7.14%" stop-color="#e54f26"/><stop offset="14.29%" stop-color="#e65126"/><stop offset="21.43%" stop-color="#e75227"/><stop offset="28.57%" stop-color="#e85427"/><stop offset="35.71%" stop-color="#e95627"/><stop offset="42.86%" stop-color="#ea5827"/><stop offset="50%" stop-color="#eb5928"/><stop offset="57.14%" stop-color="#eb5b28"/><stop offset="64.29%" stop-color="#ec5d28"/><stop offset="71.43%" stop-color="#ed5e28"/><stop offset="78.57%" stop-color="#ee6028"/><stop offset="85.71%" stop-color="#ef6229"/><stop offset="92.86%" stop-color="#f06329"/><stop offset="100%" stop-color="#f16529"/></linearGradient></defs><rect width="1440" height="600" fill="url(#bs-gradient)"/></svg>
dtcg
{
  "html": {
    "$type": "gradient",
    "$value": [
      {
        "color": {
          "colorSpace": "srgb",
          "components": [
            0.894,
            0.302,
            0.149
          ],
          "hex": "#e44d26"
        },
        "position": 0
      },
      {
        "color": {
          "colorSpace": "srgb",
          "components": [
            0.945,
            0.396,
            0.161
          ],
          "hex": "#f16529"
        },
        "position": 1
      }
    ],
    "$extensions": {
      "com.brandsweets": {
        "kind": "linear",
        "css": "linear-gradient(90deg in oklab, #e44d26 0%, #f16529 100%)",
        "interpolation": "oklab",
        "angle": 90,
        "name": "Html",
        "contrast": {
          "white": {
            "ratio": 3.166,
            "at": 0.9841,
            "passesAA": false,
            "passesAALarge": true
          },
          "black": {
            "ratio": 5.388,
            "at": 0,
            "passesAA": true,
            "passesAALarge": true
          },
          "suggestedInk": "#000000"
        }
      }
    },
    "$description": "Html (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 Html gradient (#e44d26, #f16529), 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