Named gradient · uiGradients

Blue Red

Blue Red is a teal gradient from uiGradients (MIT) — #36b1c7 → #960b33 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 2.54:1 · fails
white 2.54 failsblack 2.39 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.

sRGB35%
OKLab14%
OKLCH79%

Report

  • white ink: worst 2.54:1 at 0% (fails AA); black ink: worst 2.39:1 at 100% (fails AA) → use white text.
  • Neither ink passes AA at the worst point — treat as decorative or add a scrim (rgba(0,0,0,.35) typically lifts white ink past 4:1).
  • Banding medium: ~9px bands at 1440px — add grain 18 (≈2% soft-light noise) or shorten the ramp.

Export

css
.gradient {
  background-image: linear-gradient(90deg, #36b1c7 0%, #4ea8bc 7.14%, #5f9eb1 14.29%, #6b95a6 21.43%, #748c9b 28.57%, #7c8290 35.71%, #827986 42.86%, #876f7b 50%, #8b6471 57.14%, #8f5a66 64.29%, #914f5c 71.43%, #934352 78.57%, #953648 85.71%, #96253d 92.86%, #960b33 100%);
  background-image: linear-gradient(90deg in oklab, #36b1c7 0%, #960b33 100%);
}
tailwind v4
bg-linear-to-r/oklab from-[#36b1c7] to-[#960b33]
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="#36b1c7"/><stop offset="7.14%" stop-color="#4ea8bc"/><stop offset="14.29%" stop-color="#5f9eb1"/><stop offset="21.43%" stop-color="#6b95a6"/><stop offset="28.57%" stop-color="#748c9b"/><stop offset="35.71%" stop-color="#7c8290"/><stop offset="42.86%" stop-color="#827986"/><stop offset="50%" stop-color="#876f7b"/><stop offset="57.14%" stop-color="#8b6471"/><stop offset="64.29%" stop-color="#8f5a66"/><stop offset="71.43%" stop-color="#914f5c"/><stop offset="78.57%" stop-color="#934352"/><stop offset="85.71%" stop-color="#953648"/><stop offset="92.86%" stop-color="#96253d"/><stop offset="100%" stop-color="#960b33"/></linearGradient></defs><rect width="1440" height="600" fill="url(#bs-gradient)"/></svg>
dtcg
{
  "blue-red": {
    "$type": "gradient",
    "$value": [
      {
        "color": {
          "colorSpace": "srgb",
          "components": [
            0.212,
            0.694,
            0.78
          ],
          "hex": "#36b1c7"
        },
        "position": 0
      },
      {
        "color": {
          "colorSpace": "srgb",
          "components": [
            0.588,
            0.043,
            0.2
          ],
          "hex": "#960b33"
        },
        "position": 1
      }
    ],
    "$extensions": {
      "com.brandsweets": {
        "kind": "linear",
        "css": "linear-gradient(90deg in oklab, #36b1c7 0%, #960b33 100%)",
        "interpolation": "oklab",
        "angle": 90,
        "name": "Blue Red",
        "contrast": {
          "white": {
            "ratio": 2.537,
            "at": 0.0032,
            "passesAA": false,
            "passesAALarge": false
          },
          "black": {
            "ratio": 2.392,
            "at": 1,
            "passesAA": false,
            "passesAALarge": false
          },
          "suggestedInk": "#ffffff"
        }
      }
    },
    "$description": "Blue Red (uiGradients, MIT), rendered in OKLab."
  }
}

Tagged

More teal 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 Blue Red gradient (#36b1c7, #960b33), 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