Named gradient · uiGradients

Influenza

Influenza is a red gradient from uiGradients (MIT) — #c04848 → #480048 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
white text · worst 4.93:1 · AA
white 4.93 AAblack 1.37 failsbanding 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.

sRGB90%
OKLab86%
OKLCH91%

Report

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

Export

css
.gradient {
  background-image: linear-gradient(90deg, #c04848 0%, #b7444a 7.14%, #ad3f4b 14.29%, #a43b4c 21.43%, #9b364c 28.57%, #92324d 35.71%, #892d4d 42.86%, #81284d 50%, #78244d 57.14%, #701f4c 64.29%, #671a4c 71.43%, #5f144b 78.57%, #570e4a 85.71%, #500749 92.86%, #480048 100%);
  background-image: linear-gradient(90deg in oklab, #c04848 0%, #480048 100%);
}
tailwind v4
bg-linear-to-r/oklab from-[#c04848] to-[#480048]
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="#c04848"/><stop offset="7.14%" stop-color="#b7444a"/><stop offset="14.29%" stop-color="#ad3f4b"/><stop offset="21.43%" stop-color="#a43b4c"/><stop offset="28.57%" stop-color="#9b364c"/><stop offset="35.71%" stop-color="#92324d"/><stop offset="42.86%" stop-color="#892d4d"/><stop offset="50%" stop-color="#81284d"/><stop offset="57.14%" stop-color="#78244d"/><stop offset="64.29%" stop-color="#701f4c"/><stop offset="71.43%" stop-color="#671a4c"/><stop offset="78.57%" stop-color="#5f144b"/><stop offset="85.71%" stop-color="#570e4a"/><stop offset="92.86%" stop-color="#500749"/><stop offset="100%" stop-color="#480048"/></linearGradient></defs><rect width="1440" height="600" fill="url(#bs-gradient)"/></svg>
dtcg
{
  "influenza": {
    "$type": "gradient",
    "$value": [
      {
        "color": {
          "colorSpace": "srgb",
          "components": [
            0.753,
            0.282,
            0.282
          ],
          "hex": "#c04848"
        },
        "position": 0
      },
      {
        "color": {
          "colorSpace": "srgb",
          "components": [
            0.282,
            0,
            0.282
          ],
          "hex": "#480048"
        },
        "position": 1
      }
    ],
    "$extensions": {
      "com.brandsweets": {
        "kind": "linear",
        "css": "linear-gradient(90deg in oklab, #c04848 0%, #480048 100%)",
        "interpolation": "oklab",
        "angle": 90,
        "name": "Influenza",
        "contrast": {
          "white": {
            "ratio": 4.927,
            "at": 0,
            "passesAA": true,
            "passesAALarge": true
          },
          "black": {
            "ratio": 1.369,
            "at": 1,
            "passesAA": false,
            "passesAALarge": false
          },
          "suggestedInk": "#ffffff"
        }
      }
    },
    "$description": "Influenza (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 Influenza gradient (#c04848, #480048), 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