Named gradient · uiGradients

Namn

Namn is a red gradient from uiGradients (MIT) — #a73737 → #7a2828 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 6.47:1 · AA
white 6.47 AAblack 2.16 failsbanding 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.

sRGB87%
OKLab87%
OKLCH87%

Report

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

Export

css
.gradient {
  background-image: linear-gradient(90deg, #a73737 0%, #a43636 7.14%, #a03535 14.29%, #9d3434 21.43%, #9a3333 28.57%, #973232 35.71%, #933030 42.86%, #902f2f 50%, #8d2e2e 57.14%, #8a2d2d 64.29%, #872c2c 71.43%, #832b2b 78.57%, #802a2a 85.71%, #7d2929 92.86%, #7a2828 100%);
  background-image: linear-gradient(90deg in oklab, #a73737 0%, #7a2828 100%);
}
tailwind v4
bg-linear-to-r/oklab from-[#a73737] to-[#7a2828]
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="#a73737"/><stop offset="7.14%" stop-color="#a43636"/><stop offset="14.29%" stop-color="#a03535"/><stop offset="21.43%" stop-color="#9d3434"/><stop offset="28.57%" stop-color="#9a3333"/><stop offset="35.71%" stop-color="#973232"/><stop offset="42.86%" stop-color="#933030"/><stop offset="50%" stop-color="#902f2f"/><stop offset="57.14%" stop-color="#8d2e2e"/><stop offset="64.29%" stop-color="#8a2d2d"/><stop offset="71.43%" stop-color="#872c2c"/><stop offset="78.57%" stop-color="#832b2b"/><stop offset="85.71%" stop-color="#802a2a"/><stop offset="92.86%" stop-color="#7d2929"/><stop offset="100%" stop-color="#7a2828"/></linearGradient></defs><rect width="1440" height="600" fill="url(#bs-gradient)"/></svg>
dtcg
{
  "namn": {
    "$type": "gradient",
    "$value": [
      {
        "color": {
          "colorSpace": "srgb",
          "components": [
            0.655,
            0.216,
            0.216
          ],
          "hex": "#a73737"
        },
        "position": 0
      },
      {
        "color": {
          "colorSpace": "srgb",
          "components": [
            0.478,
            0.157,
            0.157
          ],
          "hex": "#7a2828"
        },
        "position": 1
      }
    ],
    "$extensions": {
      "com.brandsweets": {
        "kind": "linear",
        "css": "linear-gradient(90deg in oklab, #a73737 0%, #7a2828 100%)",
        "interpolation": "oklab",
        "angle": 90,
        "name": "Namn",
        "contrast": {
          "white": {
            "ratio": 6.472,
            "at": 0,
            "passesAA": true,
            "passesAALarge": true
          },
          "black": {
            "ratio": 2.162,
            "at": 1,
            "passesAA": false,
            "passesAALarge": false
          },
          "suggestedInk": "#ffffff"
        }
      }
    },
    "$description": "Namn (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 Namn gradient (#a73737, #7a2828), 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