Named gradient · uiGradients

Bloody Mary

Bloody Mary is a red gradient from uiGradients (MIT) — #ff512f → #dd2476 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 4.59:1 · AA
white 3.24 AA largeblack 4.59 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.

sRGB98%
OKLab96%
OKLCH99%

Report

  • white ink: worst 3.24:1 at 1% (AA-large only); black ink: worst 4.59:1 at 100% (AA) → use black text.
  • Banding high: ~20px bands at 1440px — add grain 40 (≈3% soft-light noise) or shorten the ramp.

Export

css
.gradient {
  background-image: linear-gradient(90deg, #ff512f 0%, #fd4f38 7.14%, #fa4c3f 14.29%, #f84a46 21.43%, #f5474c 28.57%, #f34451 35.71%, #f04156 42.86%, #ee3e5b 50%, #eb3b5f 57.14%, #e93863 64.29%, #e63567 71.43%, #e4316b 78.57%, #e22d6f 85.71%, #df2973 92.86%, #dd2476 100%);
  background-image: linear-gradient(90deg in oklab, #ff512f 0%, #dd2476 100%);
}
tailwind v4
bg-linear-to-r/oklab from-[#ff512f] to-[#dd2476]
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="#ff512f"/><stop offset="7.14%" stop-color="#fd4f38"/><stop offset="14.29%" stop-color="#fa4c3f"/><stop offset="21.43%" stop-color="#f84a46"/><stop offset="28.57%" stop-color="#f5474c"/><stop offset="35.71%" stop-color="#f34451"/><stop offset="42.86%" stop-color="#f04156"/><stop offset="50%" stop-color="#ee3e5b"/><stop offset="57.14%" stop-color="#eb3b5f"/><stop offset="64.29%" stop-color="#e93863"/><stop offset="71.43%" stop-color="#e63567"/><stop offset="78.57%" stop-color="#e4316b"/><stop offset="85.71%" stop-color="#e22d6f"/><stop offset="92.86%" stop-color="#df2973"/><stop offset="100%" stop-color="#dd2476"/></linearGradient></defs><rect width="1440" height="600" fill="url(#bs-gradient)"/></svg>
dtcg
{
  "bloody-mary": {
    "$type": "gradient",
    "$value": [
      {
        "color": {
          "colorSpace": "srgb",
          "components": [
            1,
            0.318,
            0.184
          ],
          "hex": "#ff512f"
        },
        "position": 0
      },
      {
        "color": {
          "colorSpace": "srgb",
          "components": [
            0.867,
            0.141,
            0.463
          ],
          "hex": "#dd2476"
        },
        "position": 1
      }
    ],
    "$extensions": {
      "com.brandsweets": {
        "kind": "linear",
        "css": "linear-gradient(90deg in oklab, #ff512f 0%, #dd2476 100%)",
        "interpolation": "oklab",
        "angle": 90,
        "name": "Bloody Mary",
        "contrast": {
          "white": {
            "ratio": 3.244,
            "at": 0.0143,
            "passesAA": false,
            "passesAALarge": true
          },
          "black": {
            "ratio": 4.588,
            "at": 1,
            "passesAA": true,
            "passesAALarge": true
          },
          "suggestedInk": "#000000"
        }
      }
    },
    "$description": "Bloody Mary (uiGradients, 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 Bloody Mary gradient (#ff512f, #dd2476), 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