Named gradient · WebGradients

Heavy Rain

Heavy Rain is a neutral gradient from WebGradients (MIT) — #cfd9df → #e2ebf0 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 14.64:1 · AA
white 1.21 failsblack 14.64 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.

sRGB93%
OKLab93%
OKLCH93%

Report

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

Export

css
.gradient {
  background-image: linear-gradient(0deg, #cfd9df 0%, #d0dae0 7.14%, #d2dce1 14.29%, #d3dde3 21.43%, #d4dee4 28.57%, #d6dfe5 35.71%, #d7e1e6 42.86%, #d8e2e7 50%, #dae3e9 57.14%, #dbe5ea 64.29%, #dde6eb 71.43%, #dee7ec 78.57%, #dfe8ee 85.71%, #e1eaef 92.86%, #e2ebf0 100%);
  background-image: linear-gradient(0deg in oklab, #cfd9df 0%, #e2ebf0 100%);
}
tailwind v4
bg-linear-to-t/oklab from-[#cfd9df] to-[#e2ebf0]
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="#cfd9df"/><stop offset="7.14%" stop-color="#d0dae0"/><stop offset="14.29%" stop-color="#d2dce1"/><stop offset="21.43%" stop-color="#d3dde3"/><stop offset="28.57%" stop-color="#d4dee4"/><stop offset="35.71%" stop-color="#d6dfe5"/><stop offset="42.86%" stop-color="#d7e1e6"/><stop offset="50%" stop-color="#d8e2e7"/><stop offset="57.14%" stop-color="#dae3e9"/><stop offset="64.29%" stop-color="#dbe5ea"/><stop offset="71.43%" stop-color="#dde6eb"/><stop offset="78.57%" stop-color="#dee7ec"/><stop offset="85.71%" stop-color="#dfe8ee"/><stop offset="92.86%" stop-color="#e1eaef"/><stop offset="100%" stop-color="#e2ebf0"/></linearGradient></defs><rect width="1440" height="600" fill="url(#bs-gradient)"/></svg>
dtcg
{
  "heavy-rain": {
    "$type": "gradient",
    "$value": [
      {
        "color": {
          "colorSpace": "srgb",
          "components": [
            0.812,
            0.851,
            0.875
          ],
          "hex": "#cfd9df"
        },
        "position": 0
      },
      {
        "color": {
          "colorSpace": "srgb",
          "components": [
            0.886,
            0.922,
            0.941
          ],
          "hex": "#e2ebf0"
        },
        "position": 1
      }
    ],
    "$extensions": {
      "com.brandsweets": {
        "kind": "linear",
        "css": "linear-gradient(0deg in oklab, #cfd9df 0%, #e2ebf0 100%)",
        "interpolation": "oklab",
        "angle": 0,
        "name": "Heavy Rain",
        "contrast": {
          "white": {
            "ratio": 1.209,
            "at": 0.9841,
            "passesAA": false,
            "passesAALarge": false
          },
          "black": {
            "ratio": 14.644,
            "at": 0,
            "passesAA": true,
            "passesAALarge": true
          },
          "suggestedInk": "#000000"
        }
      }
    },
    "$description": "Heavy Rain (WebGradients, MIT), rendered in OKLab."
  }
}

Tagged

More neutral 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 Heavy Rain gradient (#cfd9df, #e2ebf0), 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