Named gradient · uiGradients

Cosmic Fusion

Cosmic Fusion is a pink gradient from uiGradients (MIT) — #ff00cc → #333399 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
white text · worst 3.43:1 · AA large
white 3.43 AA largeblack 2.07 failsbanding 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.

sRGB71%
OKLab70%
OKLCH71%

Report

  • white ink: worst 3.43:1 at 0% (AA-large only); black ink: worst 2.07:1 at 100% (fails AA) → use white text.
  • Body text fails AA everywhere on this gradient; large text (≥24px / 19px bold) is fine. Add a scrim or lower the chroma for body copy.
  • Banding medium: ~7px bands at 1440px — add grain 13 (≈2% soft-light noise) or shorten the ramp.

Export

css
.gradient {
  background-image: linear-gradient(90deg, #ff00cc 0%, #f01ac8 7.14%, #e226c5 14.29%, #d32dc1 21.43%, #c432be 28.57%, #b636ba 35.71%, #a838b7 42.86%, #9a3ab3 50%, #8b3baf 57.14%, #7d3bac 64.29%, #6f3aa8 71.43%, #6139a4 78.57%, #5238a1 85.71%, #43369d 92.86%, #333399 100%);
  background-image: linear-gradient(90deg in oklab, #ff00cc 0%, #333399 100%);
}
tailwind v4
bg-linear-to-r/oklab from-[#ff00cc] to-[#333399]
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="#ff00cc"/><stop offset="7.14%" stop-color="#f01ac8"/><stop offset="14.29%" stop-color="#e226c5"/><stop offset="21.43%" stop-color="#d32dc1"/><stop offset="28.57%" stop-color="#c432be"/><stop offset="35.71%" stop-color="#b636ba"/><stop offset="42.86%" stop-color="#a838b7"/><stop offset="50%" stop-color="#9a3ab3"/><stop offset="57.14%" stop-color="#8b3baf"/><stop offset="64.29%" stop-color="#7d3bac"/><stop offset="71.43%" stop-color="#6f3aa8"/><stop offset="78.57%" stop-color="#6139a4"/><stop offset="85.71%" stop-color="#5238a1"/><stop offset="92.86%" stop-color="#43369d"/><stop offset="100%" stop-color="#333399"/></linearGradient></defs><rect width="1440" height="600" fill="url(#bs-gradient)"/></svg>
dtcg
{
  "cosmic-fusion": {
    "$type": "gradient",
    "$value": [
      {
        "color": {
          "colorSpace": "srgb",
          "components": [
            1,
            0,
            0.8
          ],
          "hex": "#ff00cc"
        },
        "position": 0
      },
      {
        "color": {
          "colorSpace": "srgb",
          "components": [
            0.2,
            0.2,
            0.6
          ],
          "hex": "#333399"
        },
        "position": 1
      }
    ],
    "$extensions": {
      "com.brandsweets": {
        "kind": "linear",
        "css": "linear-gradient(90deg in oklab, #ff00cc 0%, #333399 100%)",
        "interpolation": "oklab",
        "angle": 90,
        "name": "Cosmic Fusion",
        "contrast": {
          "white": {
            "ratio": 3.429,
            "at": 0,
            "passesAA": false,
            "passesAALarge": true
          },
          "black": {
            "ratio": 2.074,
            "at": 1,
            "passesAA": false,
            "passesAALarge": false
          },
          "suggestedInk": "#ffffff"
        }
      }
    },
    "$description": "Cosmic Fusion (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 Cosmic Fusion gradient (#ff00cc, #333399), 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