Named gradient · uiGradients

Back to the Future

Back to the Future is a red gradient from uiGradients (MIT) — #c02425 → #f0cb35 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 3.52:1 · AA large
white 1.58 failsblack 3.52 AA largebanding 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.

sRGB81%
OKLab82%
OKLCH91%

Report

  • white ink: worst 1.58:1 at 100% (fails AA); black ink: worst 3.52:1 at 0% (AA-large only) → use black 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: ~9px bands at 1440px — add grain 18 (≈2% soft-light noise) or shorten the ramp.

Export

css
.gradient {
  background-image: linear-gradient(90deg, #c02425 0%, #c53627 7.14%, #c94428 14.29%, #cd5129 21.43%, #d25e2b 28.57%, #d5692c 35.71%, #d9752d 42.86%, #dd802e 50%, #e08b2f 57.14%, #e39631 64.29%, #e6a032 71.43%, #e9ab33 78.57%, #ecb633 85.71%, #eec034 92.86%, #f0cb35 100%);
  background-image: linear-gradient(90deg in oklab, #c02425 0%, #f0cb35 100%);
}
tailwind v4
bg-linear-to-r/oklab from-[#c02425] to-[#f0cb35]
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="#c02425"/><stop offset="7.14%" stop-color="#c53627"/><stop offset="14.29%" stop-color="#c94428"/><stop offset="21.43%" stop-color="#cd5129"/><stop offset="28.57%" stop-color="#d25e2b"/><stop offset="35.71%" stop-color="#d5692c"/><stop offset="42.86%" stop-color="#d9752d"/><stop offset="50%" stop-color="#dd802e"/><stop offset="57.14%" stop-color="#e08b2f"/><stop offset="64.29%" stop-color="#e39631"/><stop offset="71.43%" stop-color="#e6a032"/><stop offset="78.57%" stop-color="#e9ab33"/><stop offset="85.71%" stop-color="#ecb633"/><stop offset="92.86%" stop-color="#eec034"/><stop offset="100%" stop-color="#f0cb35"/></linearGradient></defs><rect width="1440" height="600" fill="url(#bs-gradient)"/></svg>
dtcg
{
  "back-to-the-future-ui": {
    "$type": "gradient",
    "$value": [
      {
        "color": {
          "colorSpace": "srgb",
          "components": [
            0.753,
            0.141,
            0.145
          ],
          "hex": "#c02425"
        },
        "position": 0
      },
      {
        "color": {
          "colorSpace": "srgb",
          "components": [
            0.941,
            0.796,
            0.208
          ],
          "hex": "#f0cb35"
        },
        "position": 1
      }
    ],
    "$extensions": {
      "com.brandsweets": {
        "kind": "linear",
        "css": "linear-gradient(90deg in oklab, #c02425 0%, #f0cb35 100%)",
        "interpolation": "oklab",
        "angle": 90,
        "name": "Back to the Future",
        "contrast": {
          "white": {
            "ratio": 1.579,
            "at": 1,
            "passesAA": false,
            "passesAALarge": false
          },
          "black": {
            "ratio": 3.52,
            "at": 0,
            "passesAA": false,
            "passesAALarge": true
          },
          "suggestedInk": "#000000"
        }
      }
    },
    "$description": "Back to the Future (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 Back to the Future gradient (#c02425, #f0cb35), 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