Named gradient · uiGradients

A Lost Memory

A Lost Memory is a red gradient from uiGradients (MIT) — #de6262 → #ffb88c 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.03:1 · AA
white 1.68 failsblack 6.03 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.

sRGB79%
OKLab79%
OKLCH79%

Report

  • white ink: worst 1.68:1 at 100% (fails AA); black ink: worst 6.03:1 at 0% (AA) → use black text.
  • Banding high: ~17px bands at 1440px — add grain 34 (≈2% soft-light noise) or shorten the ramp.

Export

css
.gradient {
  background-image: linear-gradient(90deg, #de6262 0%, #e16965 7.14%, #e36f68 14.29%, #e6756b 21.43%, #e87b6e 28.57%, #eb8271 35.71%, #ed8874 42.86%, #f08e77 50%, #f2947a 57.14%, #f49a7d 64.29%, #f7a080 71.43%, #f9a683 78.57%, #fbac86 85.71%, #fdb289 92.86%, #ffb88c 100%);
  background-image: linear-gradient(90deg in oklab, #de6262 0%, #ffb88c 100%);
}
tailwind v4
bg-linear-to-r/oklab from-[#de6262] to-[#ffb88c]
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="#de6262"/><stop offset="7.14%" stop-color="#e16965"/><stop offset="14.29%" stop-color="#e36f68"/><stop offset="21.43%" stop-color="#e6756b"/><stop offset="28.57%" stop-color="#e87b6e"/><stop offset="35.71%" stop-color="#eb8271"/><stop offset="42.86%" stop-color="#ed8874"/><stop offset="50%" stop-color="#f08e77"/><stop offset="57.14%" stop-color="#f2947a"/><stop offset="64.29%" stop-color="#f49a7d"/><stop offset="71.43%" stop-color="#f7a080"/><stop offset="78.57%" stop-color="#f9a683"/><stop offset="85.71%" stop-color="#fbac86"/><stop offset="92.86%" stop-color="#fdb289"/><stop offset="100%" stop-color="#ffb88c"/></linearGradient></defs><rect width="1440" height="600" fill="url(#bs-gradient)"/></svg>
dtcg
{
  "a-lost-memory": {
    "$type": "gradient",
    "$value": [
      {
        "color": {
          "colorSpace": "srgb",
          "components": [
            0.871,
            0.384,
            0.384
          ],
          "hex": "#de6262"
        },
        "position": 0
      },
      {
        "color": {
          "colorSpace": "srgb",
          "components": [
            1,
            0.722,
            0.549
          ],
          "hex": "#ffb88c"
        },
        "position": 1
      }
    ],
    "$extensions": {
      "com.brandsweets": {
        "kind": "linear",
        "css": "linear-gradient(90deg in oklab, #de6262 0%, #ffb88c 100%)",
        "interpolation": "oklab",
        "angle": 90,
        "name": "A Lost Memory",
        "contrast": {
          "white": {
            "ratio": 1.682,
            "at": 1,
            "passesAA": false,
            "passesAALarge": false
          },
          "black": {
            "ratio": 6.029,
            "at": 0,
            "passesAA": true,
            "passesAALarge": true
          },
          "suggestedInk": "#000000"
        }
      }
    },
    "$description": "A Lost Memory (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 A Lost Memory gradient (#de6262, #ffb88c), 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