Named gradient · WebGradients

Happy Memories

Happy Memories is a red gradient from WebGradients (MIT) — #ff5858 → #f09819 at 300°. 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.79:1 · AA
white 2.28 failsblack 6.79 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.

sRGB88%
OKLab88%
OKLCH88%

Report

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

Export

css
.gradient {
  background-image: linear-gradient(300deg, #ff5858 0%, #fe5e55 7.14%, #fd6353 14.29%, #fc6850 21.43%, #fc6d4d 28.57%, #fb724a 35.71%, #fa7746 42.86%, #f97b43 50%, #f7803f 57.14%, #f6843a 64.29%, #f58836 71.43%, #f48c30 78.57%, #f3902a 85.71%, #f19423 92.86%, #f09819 100%);
  background-image: linear-gradient(300deg in oklab, #ff5858 0%, #f09819 100%);
}
tailwind v4
bg-linear-300/oklab from-[#ff5858] to-[#f09819]
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="1389.9038" y1="686.7691" x2="50.0962" y2="-86.7691"><stop offset="0%" stop-color="#ff5858"/><stop offset="7.14%" stop-color="#fe5e55"/><stop offset="14.29%" stop-color="#fd6353"/><stop offset="21.43%" stop-color="#fc6850"/><stop offset="28.57%" stop-color="#fc6d4d"/><stop offset="35.71%" stop-color="#fb724a"/><stop offset="42.86%" stop-color="#fa7746"/><stop offset="50%" stop-color="#f97b43"/><stop offset="57.14%" stop-color="#f7803f"/><stop offset="64.29%" stop-color="#f6843a"/><stop offset="71.43%" stop-color="#f58836"/><stop offset="78.57%" stop-color="#f48c30"/><stop offset="85.71%" stop-color="#f3902a"/><stop offset="92.86%" stop-color="#f19423"/><stop offset="100%" stop-color="#f09819"/></linearGradient></defs><rect width="1440" height="600" fill="url(#bs-gradient)"/></svg>
dtcg
{
  "happy-memories": {
    "$type": "gradient",
    "$value": [
      {
        "color": {
          "colorSpace": "srgb",
          "components": [
            1,
            0.345,
            0.345
          ],
          "hex": "#ff5858"
        },
        "position": 0
      },
      {
        "color": {
          "colorSpace": "srgb",
          "components": [
            0.941,
            0.596,
            0.098
          ],
          "hex": "#f09819"
        },
        "position": 1
      }
    ],
    "$extensions": {
      "com.brandsweets": {
        "kind": "linear",
        "css": "linear-gradient(300deg in oklab, #ff5858 0%, #f09819 100%)",
        "interpolation": "oklab",
        "angle": 300,
        "name": "Happy Memories",
        "contrast": {
          "white": {
            "ratio": 2.28,
            "at": 0.9969,
            "passesAA": false,
            "passesAALarge": false
          },
          "black": {
            "ratio": 6.789,
            "at": 0,
            "passesAA": true,
            "passesAALarge": true
          },
          "suggestedInk": "#000000"
        }
      }
    },
    "$description": "Happy Memories (WebGradients, 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 Happy Memories gradient (#ff5858, #f09819), 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 WebGradients (MIT) — licences