Named gradient · WebGradients

Juicy Cake

Juicy Cake is a pink gradient from WebGradients (MIT) — #e14fad → #f9d423 at 0°. 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 5.92:1 · AA
white 1.45 failsblack 5.92 AAbanding 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.

sRGB65%
OKLab56%
OKLCH81%

Report

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

Export

css
.gradient {
  background-image: linear-gradient(0deg, #e14fad 0%, #e35ca8 7.14%, #e568a4 14.29%, #e7729e 21.43%, #e97d99 28.57%, #eb8693 35.71%, #ed908c 42.86%, #ef9985 50%, #f1a27e 57.14%, #f2aa75 64.29%, #f4b36b 71.43%, #f5bb60 78.57%, #f7c452 85.71%, #f8cc40 92.86%, #f9d423 100%);
  background-image: linear-gradient(0deg in oklab, #e14fad 0%, #f9d423 100%);
}
tailwind v4
bg-linear-to-t/oklab from-[#e14fad] to-[#f9d423]
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="720" y1="600" x2="720" y2="0"><stop offset="0%" stop-color="#e14fad"/><stop offset="7.14%" stop-color="#e35ca8"/><stop offset="14.29%" stop-color="#e568a4"/><stop offset="21.43%" stop-color="#e7729e"/><stop offset="28.57%" stop-color="#e97d99"/><stop offset="35.71%" stop-color="#eb8693"/><stop offset="42.86%" stop-color="#ed908c"/><stop offset="50%" stop-color="#ef9985"/><stop offset="57.14%" stop-color="#f1a27e"/><stop offset="64.29%" stop-color="#f2aa75"/><stop offset="71.43%" stop-color="#f4b36b"/><stop offset="78.57%" stop-color="#f5bb60"/><stop offset="85.71%" stop-color="#f7c452"/><stop offset="92.86%" stop-color="#f8cc40"/><stop offset="100%" stop-color="#f9d423"/></linearGradient></defs><rect width="1440" height="600" fill="url(#bs-gradient)"/></svg>
dtcg
{
  "juicy-cake": {
    "$type": "gradient",
    "$value": [
      {
        "color": {
          "colorSpace": "srgb",
          "components": [
            0.882,
            0.31,
            0.678
          ],
          "hex": "#e14fad"
        },
        "position": 0
      },
      {
        "color": {
          "colorSpace": "srgb",
          "components": [
            0.976,
            0.831,
            0.137
          ],
          "hex": "#f9d423"
        },
        "position": 1
      }
    ],
    "$extensions": {
      "com.brandsweets": {
        "kind": "linear",
        "css": "linear-gradient(0deg in oklab, #e14fad 0%, #f9d423 100%)",
        "interpolation": "oklab",
        "angle": 0,
        "name": "Juicy Cake",
        "contrast": {
          "white": {
            "ratio": 1.451,
            "at": 1,
            "passesAA": false,
            "passesAALarge": false
          },
          "black": {
            "ratio": 5.923,
            "at": 0,
            "passesAA": true,
            "passesAALarge": true
          },
          "suggestedInk": "#000000"
        }
      }
    },
    "$description": "Juicy Cake (WebGradients, MIT), rendered in OKLab."
  }
}

Tagged

More pink 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 Juicy Cake gradient (#e14fad, #f9d423), 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