Named gradient · uiGradients

Red Sunset

Red Sunset is a blue gradient from uiGradients (MIT) — #355c7d → #6c5b7b → #c06c84 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.67:1 · AA large
white 3.67 AA largeblack 2.98 failsbanding 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.

sRGB57%
OKLab55%
OKLCH60%

Report

  • white ink: worst 3.67:1 at 100% (AA-large only); black ink: worst 2.98:1 at 0% (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 high: ~13px bands at 1440px — add grain 27 (≈2% soft-light noise) or shorten the ramp.

Export

css
.gradient {
  background-image: linear-gradient(90deg, #355c7d 0%, #3a5c7d 3.57%, #3f5c7d 7.14%, #435c7d 10.71%, #475c7c 14.29%, #4c5c7c 17.86%, #4f5c7c 21.43%, #535c7c 25%, #575c7c 28.57%, #5b5c7c 32.14%, #5e5c7c 35.71%, #625c7b 39.29%, #655b7b 42.86%, #695b7b 46.43%, #6c5b7b 50%, #725c7c 53.57%, #785e7c 57.14%, #7e5f7d 60.71%, #84617e 64.29%, #8a627f 67.86%, #90637f 71.43%, #966480 75%, #9c6681 78.57%, #a26781 82.14%, #a86882 85.71%, #ae6982 89.29%, #b46a83 92.86%, #ba6b83 96.43%, #c06c84 100%);
  background-image: linear-gradient(90deg in oklab, #355c7d 0%, #6c5b7b 50%, #c06c84 100%);
}
tailwind v4
bg-linear-to-r/oklab from-[#355c7d] via-[#6c5b7b] to-[#c06c84]
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="#355c7d"/><stop offset="3.57%" stop-color="#3a5c7d"/><stop offset="7.14%" stop-color="#3f5c7d"/><stop offset="10.71%" stop-color="#435c7d"/><stop offset="14.29%" stop-color="#475c7c"/><stop offset="17.86%" stop-color="#4c5c7c"/><stop offset="21.43%" stop-color="#4f5c7c"/><stop offset="25%" stop-color="#535c7c"/><stop offset="28.57%" stop-color="#575c7c"/><stop offset="32.14%" stop-color="#5b5c7c"/><stop offset="35.71%" stop-color="#5e5c7c"/><stop offset="39.29%" stop-color="#625c7b"/><stop offset="42.86%" stop-color="#655b7b"/><stop offset="46.43%" stop-color="#695b7b"/><stop offset="50%" stop-color="#6c5b7b"/><stop offset="53.57%" stop-color="#725c7c"/><stop offset="57.14%" stop-color="#785e7c"/><stop offset="60.71%" stop-color="#7e5f7d"/><stop offset="64.29%" stop-color="#84617e"/><stop offset="67.86%" stop-color="#8a627f"/><stop offset="71.43%" stop-color="#90637f"/><stop offset="75%" stop-color="#966480"/><stop offset="78.57%" stop-color="#9c6681"/><stop offset="82.14%" stop-color="#a26781"/><stop offset="85.71%" stop-color="#a86882"/><stop offset="89.29%" stop-color="#ae6982"/><stop offset="92.86%" stop-color="#b46a83"/><stop offset="96.43%" stop-color="#ba6b83"/><stop offset="100%" stop-color="#c06c84"/></linearGradient></defs><rect width="1440" height="600" fill="url(#bs-gradient)"/></svg>
dtcg
{
  "red-sunset": {
    "$type": "gradient",
    "$value": [
      {
        "color": {
          "colorSpace": "srgb",
          "components": [
            0.208,
            0.361,
            0.49
          ],
          "hex": "#355c7d"
        },
        "position": 0
      },
      {
        "color": {
          "colorSpace": "srgb",
          "components": [
            0.424,
            0.357,
            0.482
          ],
          "hex": "#6c5b7b"
        },
        "position": 0.5
      },
      {
        "color": {
          "colorSpace": "srgb",
          "components": [
            0.753,
            0.424,
            0.518
          ],
          "hex": "#c06c84"
        },
        "position": 1
      }
    ],
    "$extensions": {
      "com.brandsweets": {
        "kind": "linear",
        "css": "linear-gradient(90deg in oklab, #355c7d 0%, #6c5b7b 50%, #c06c84 100%)",
        "interpolation": "oklab",
        "angle": 90,
        "name": "Red Sunset",
        "contrast": {
          "white": {
            "ratio": 3.672,
            "at": 1,
            "passesAA": false,
            "passesAALarge": true
          },
          "black": {
            "ratio": 2.978,
            "at": 0,
            "passesAA": false,
            "passesAALarge": false
          },
          "suggestedInk": "#ffffff"
        }
      }
    },
    "$description": "Red Sunset (uiGradients, MIT), rendered in OKLab."
  }
}

Tagged

More blue 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 Red Sunset gradient (#355c7d, #6c5b7b, #c06c84), 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