Named gradient · uiGradients

Red Ocean

Red Ocean is a blue gradient from uiGradients (MIT) — #1d4350 → #a43931 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 6.54:1 · AA
white 6.54 AAblack 1.97 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.

sRGB13%
OKLab10%
OKLCH51%

Report

  • white ink: worst 6.54:1 at 99% (AA); black ink: worst 1.97:1 at 0% (fails AA) → use white text.
  • Banding high: ~11px bands at 1440px — add grain 22 (≈2% soft-light noise) or shorten the ramp.

Export

css
.gradient {
  background-image: linear-gradient(90deg, #1d4350 0%, #2c444f 7.14%, #37454d 14.29%, #42454c 21.43%, #4c454a 28.57%, #564548 35.71%, #5f4546 42.86%, #684544 50%, #714442 57.14%, #794340 64.29%, #82423d 71.43%, #8a403b 78.57%, #933e38 85.71%, #9c3c35 92.86%, #a43931 100%);
  background-image: linear-gradient(90deg in oklab, #1d4350 0%, #a43931 100%);
}
tailwind v4
bg-linear-to-r/oklab from-[#1d4350] to-[#a43931]
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="#1d4350"/><stop offset="7.14%" stop-color="#2c444f"/><stop offset="14.29%" stop-color="#37454d"/><stop offset="21.43%" stop-color="#42454c"/><stop offset="28.57%" stop-color="#4c454a"/><stop offset="35.71%" stop-color="#564548"/><stop offset="42.86%" stop-color="#5f4546"/><stop offset="50%" stop-color="#684544"/><stop offset="57.14%" stop-color="#714442"/><stop offset="64.29%" stop-color="#794340"/><stop offset="71.43%" stop-color="#82423d"/><stop offset="78.57%" stop-color="#8a403b"/><stop offset="85.71%" stop-color="#933e38"/><stop offset="92.86%" stop-color="#9c3c35"/><stop offset="100%" stop-color="#a43931"/></linearGradient></defs><rect width="1440" height="600" fill="url(#bs-gradient)"/></svg>
dtcg
{
  "red-ocean": {
    "$type": "gradient",
    "$value": [
      {
        "color": {
          "colorSpace": "srgb",
          "components": [
            0.114,
            0.263,
            0.314
          ],
          "hex": "#1d4350"
        },
        "position": 0
      },
      {
        "color": {
          "colorSpace": "srgb",
          "components": [
            0.643,
            0.224,
            0.192
          ],
          "hex": "#a43931"
        },
        "position": 1
      }
    ],
    "$extensions": {
      "com.brandsweets": {
        "kind": "linear",
        "css": "linear-gradient(90deg in oklab, #1d4350 0%, #a43931 100%)",
        "interpolation": "oklab",
        "angle": 90,
        "name": "Red Ocean",
        "contrast": {
          "white": {
            "ratio": 6.545,
            "at": 0.9888,
            "passesAA": true,
            "passesAALarge": true
          },
          "black": {
            "ratio": 1.971,
            "at": 0,
            "passesAA": false,
            "passesAALarge": false
          },
          "suggestedInk": "#ffffff"
        }
      }
    },
    "$description": "Red Ocean (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 Ocean gradient (#1d4350, #a43931), 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