Named gradient · uiGradients

Kyoto

Kyoto is a red gradient from uiGradients (MIT) — #c21500 → #ffc500 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.40:1 · AA large
white 1.59 failsblack 3.40 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.

sRGB86%
OKLab87%
OKLCH89%

Report

  • white ink: worst 1.59:1 at 100% (fails AA); black ink: worst 3.40: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: ~8px bands at 1440px — add grain 16 (≈2% soft-light noise) or shorten the ramp.

Export

css
.gradient {
  background-image: linear-gradient(90deg, #c21500 0%, #c72c00 7.14%, #cd3c00 14.29%, #d24a00 21.43%, #d75600 28.57%, #db6200 35.71%, #e06e00 42.86%, #e47900 50%, #e98400 57.14%, #ed8f00 64.29%, #f19a00 71.43%, #f5a500 78.57%, #f8b000 85.71%, #fcba00 92.86%, #ffc500 100%);
  background-image: linear-gradient(90deg in oklab, #c21500 0%, #ffc500 100%);
}
tailwind v4
bg-linear-to-r/oklab from-[#c21500] to-[#ffc500]
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="#c21500"/><stop offset="7.14%" stop-color="#c72c00"/><stop offset="14.29%" stop-color="#cd3c00"/><stop offset="21.43%" stop-color="#d24a00"/><stop offset="28.57%" stop-color="#d75600"/><stop offset="35.71%" stop-color="#db6200"/><stop offset="42.86%" stop-color="#e06e00"/><stop offset="50%" stop-color="#e47900"/><stop offset="57.14%" stop-color="#e98400"/><stop offset="64.29%" stop-color="#ed8f00"/><stop offset="71.43%" stop-color="#f19a00"/><stop offset="78.57%" stop-color="#f5a500"/><stop offset="85.71%" stop-color="#f8b000"/><stop offset="92.86%" stop-color="#fcba00"/><stop offset="100%" stop-color="#ffc500"/></linearGradient></defs><rect width="1440" height="600" fill="url(#bs-gradient)"/></svg>
dtcg
{
  "kyoto": {
    "$type": "gradient",
    "$value": [
      {
        "color": {
          "colorSpace": "srgb",
          "components": [
            0.761,
            0.082,
            0
          ],
          "hex": "#c21500"
        },
        "position": 0
      },
      {
        "color": {
          "colorSpace": "srgb",
          "components": [
            1,
            0.773,
            0
          ],
          "hex": "#ffc500"
        },
        "position": 1
      }
    ],
    "$extensions": {
      "com.brandsweets": {
        "kind": "linear",
        "css": "linear-gradient(90deg in oklab, #c21500 0%, #ffc500 100%)",
        "interpolation": "oklab",
        "angle": 90,
        "name": "Kyoto",
        "contrast": {
          "white": {
            "ratio": 1.586,
            "at": 1,
            "passesAA": false,
            "passesAALarge": false
          },
          "black": {
            "ratio": 3.401,
            "at": 0,
            "passesAA": false,
            "passesAALarge": true
          },
          "suggestedInk": "#000000"
        }
      }
    },
    "$description": "Kyoto (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 Kyoto gradient (#c21500, #ffc500), 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