Named gradient · uiGradients

Monte Carlo

Monte Carlo is a pink gradient from uiGradients (MIT) — #cc95c0 → #dbd4b4 → #7aa1d2 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 7.86:1 · AA
white 1.49 failsblack 7.86 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.

sRGB14%
OKLab12%
OKLCH50%

Report

  • white ink: worst 1.49:1 at 50% (fails AA); black ink: worst 7.86:1 at 100% (AA) → use black text.
  • Banding high: ~11px bands at 1440px — add grain 24 (≈2% soft-light noise) or shorten the ramp.

Export

css
.gradient {
  background-image: linear-gradient(90deg, #cc95c0 0%, #cd9abf 3.57%, #ce9ebf 7.14%, #d0a3be 10.71%, #d1a7be 14.29%, #d2acbd 17.86%, #d3b0bc 21.43%, #d4b5bb 25%, #d5b9ba 28.57%, #d6beb9 32.14%, #d7c2b8 35.71%, #d8c7b7 39.29%, #d9cbb6 42.86%, #dad0b5 46.43%, #dbd4b4 50%, #d4d1b7 53.57%, #cdcdba 57.14%, #c6cabc 60.71%, #bfc6bf 64.29%, #b8c3c1 67.86%, #b1bfc3 71.43%, #aabbc5 75%, #a4b8c7 78.57%, #9db4c9 82.14%, #96b0cb 85.71%, #8fadcd 89.29%, #88a9cf 92.86%, #81a5d0 96.43%, #7aa1d2 100%);
  background-image: linear-gradient(90deg in oklab, #cc95c0 0%, #dbd4b4 50%, #7aa1d2 100%);
}
tailwind v4
bg-linear-to-r/oklab from-[#cc95c0] via-[#dbd4b4] to-[#7aa1d2]
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="#cc95c0"/><stop offset="3.57%" stop-color="#cd9abf"/><stop offset="7.14%" stop-color="#ce9ebf"/><stop offset="10.71%" stop-color="#d0a3be"/><stop offset="14.29%" stop-color="#d1a7be"/><stop offset="17.86%" stop-color="#d2acbd"/><stop offset="21.43%" stop-color="#d3b0bc"/><stop offset="25%" stop-color="#d4b5bb"/><stop offset="28.57%" stop-color="#d5b9ba"/><stop offset="32.14%" stop-color="#d6beb9"/><stop offset="35.71%" stop-color="#d7c2b8"/><stop offset="39.29%" stop-color="#d8c7b7"/><stop offset="42.86%" stop-color="#d9cbb6"/><stop offset="46.43%" stop-color="#dad0b5"/><stop offset="50%" stop-color="#dbd4b4"/><stop offset="53.57%" stop-color="#d4d1b7"/><stop offset="57.14%" stop-color="#cdcdba"/><stop offset="60.71%" stop-color="#c6cabc"/><stop offset="64.29%" stop-color="#bfc6bf"/><stop offset="67.86%" stop-color="#b8c3c1"/><stop offset="71.43%" stop-color="#b1bfc3"/><stop offset="75%" stop-color="#aabbc5"/><stop offset="78.57%" stop-color="#a4b8c7"/><stop offset="82.14%" stop-color="#9db4c9"/><stop offset="85.71%" stop-color="#96b0cb"/><stop offset="89.29%" stop-color="#8fadcd"/><stop offset="92.86%" stop-color="#88a9cf"/><stop offset="96.43%" stop-color="#81a5d0"/><stop offset="100%" stop-color="#7aa1d2"/></linearGradient></defs><rect width="1440" height="600" fill="url(#bs-gradient)"/></svg>
dtcg
{
  "monte-carlo": {
    "$type": "gradient",
    "$value": [
      {
        "color": {
          "colorSpace": "srgb",
          "components": [
            0.8,
            0.584,
            0.753
          ],
          "hex": "#cc95c0"
        },
        "position": 0
      },
      {
        "color": {
          "colorSpace": "srgb",
          "components": [
            0.859,
            0.831,
            0.706
          ],
          "hex": "#dbd4b4"
        },
        "position": 0.5
      },
      {
        "color": {
          "colorSpace": "srgb",
          "components": [
            0.478,
            0.631,
            0.824
          ],
          "hex": "#7aa1d2"
        },
        "position": 1
      }
    ],
    "$extensions": {
      "com.brandsweets": {
        "kind": "linear",
        "css": "linear-gradient(90deg in oklab, #cc95c0 0%, #dbd4b4 50%, #7aa1d2 100%)",
        "interpolation": "oklab",
        "angle": 90,
        "name": "Monte Carlo",
        "contrast": {
          "white": {
            "ratio": 1.491,
            "at": 0.5,
            "passesAA": false,
            "passesAALarge": false
          },
          "black": {
            "ratio": 7.856,
            "at": 1,
            "passesAA": true,
            "passesAALarge": true
          },
          "suggestedInk": "#000000"
        }
      }
    },
    "$description": "Monte Carlo (uiGradients, 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 Monte Carlo gradient (#cc95c0, #dbd4b4, #7aa1d2), 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