Named gradient · uiGradients

Haikus

Haikus is a red gradient from uiGradients (MIT) — #fd746c → #ff9068 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 7.89:1 · AA
white 2.22 failsblack 7.89 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.

sRGB92%
OKLab92%
OKLCH92%

Report

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

Export

css
.gradient {
  background-image: linear-gradient(90deg, #fd746c 0%, #fd766c 7.14%, #fd786c 14.29%, #fe7a6b 21.43%, #fe7c6b 28.57%, #fe7e6b 35.71%, #fe806a 42.86%, #fe826a 50%, #fe846a 57.14%, #fe866a 64.29%, #ff8869 71.43%, #ff8a69 78.57%, #ff8c69 85.71%, #ff8e68 92.86%, #ff9068 100%);
  background-image: linear-gradient(90deg in oklab, #fd746c 0%, #ff9068 100%);
}
tailwind v4
bg-linear-to-r/oklab from-[#fd746c] to-[#ff9068]
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="#fd746c"/><stop offset="7.14%" stop-color="#fd766c"/><stop offset="14.29%" stop-color="#fd786c"/><stop offset="21.43%" stop-color="#fe7a6b"/><stop offset="28.57%" stop-color="#fe7c6b"/><stop offset="35.71%" stop-color="#fe7e6b"/><stop offset="42.86%" stop-color="#fe806a"/><stop offset="50%" stop-color="#fe826a"/><stop offset="57.14%" stop-color="#fe846a"/><stop offset="64.29%" stop-color="#fe866a"/><stop offset="71.43%" stop-color="#ff8869"/><stop offset="78.57%" stop-color="#ff8a69"/><stop offset="85.71%" stop-color="#ff8c69"/><stop offset="92.86%" stop-color="#ff8e68"/><stop offset="100%" stop-color="#ff9068"/></linearGradient></defs><rect width="1440" height="600" fill="url(#bs-gradient)"/></svg>
dtcg
{
  "haikus": {
    "$type": "gradient",
    "$value": [
      {
        "color": {
          "colorSpace": "srgb",
          "components": [
            0.992,
            0.455,
            0.424
          ],
          "hex": "#fd746c"
        },
        "position": 0
      },
      {
        "color": {
          "colorSpace": "srgb",
          "components": [
            1,
            0.565,
            0.408
          ],
          "hex": "#ff9068"
        },
        "position": 1
      }
    ],
    "$extensions": {
      "com.brandsweets": {
        "kind": "linear",
        "css": "linear-gradient(90deg in oklab, #fd746c 0%, #ff9068 100%)",
        "interpolation": "oklab",
        "angle": 90,
        "name": "Haikus",
        "contrast": {
          "white": {
            "ratio": 2.224,
            "at": 0.9841,
            "passesAA": false,
            "passesAALarge": false
          },
          "black": {
            "ratio": 7.891,
            "at": 0,
            "passesAA": true,
            "passesAALarge": true
          },
          "suggestedInk": "#000000"
        }
      }
    },
    "$description": "Haikus (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 Haikus gradient (#fd746c, #ff9068), 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