Named gradient · uiGradients

Disco

Disco is a teal gradient from uiGradients (MIT) — #4ecdc4 → #556270 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.37:1 · AA large
white 1.94 failsblack 3.37 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.

sRGB40%
OKLab40%
OKLCH40%

Report

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

Export

css
.gradient {
  background-image: linear-gradient(90deg, #4ecdc4 0%, #51c5be 7.14%, #53bdb8 14.29%, #55b5b1 21.43%, #57adab 28.57%, #58a6a5 35.71%, #599e9f 42.86%, #599699 50%, #598e93 57.14%, #59878d 64.29%, #597f87 71.43%, #587881 78.57%, #57717b 85.71%, #566976 92.86%, #556270 100%);
  background-image: linear-gradient(90deg in oklab, #4ecdc4 0%, #556270 100%);
}
tailwind v4
bg-linear-to-r/oklab from-[#4ecdc4] to-[#556270]
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="#4ecdc4"/><stop offset="7.14%" stop-color="#51c5be"/><stop offset="14.29%" stop-color="#53bdb8"/><stop offset="21.43%" stop-color="#55b5b1"/><stop offset="28.57%" stop-color="#57adab"/><stop offset="35.71%" stop-color="#58a6a5"/><stop offset="42.86%" stop-color="#599e9f"/><stop offset="50%" stop-color="#599699"/><stop offset="57.14%" stop-color="#598e93"/><stop offset="64.29%" stop-color="#59878d"/><stop offset="71.43%" stop-color="#597f87"/><stop offset="78.57%" stop-color="#587881"/><stop offset="85.71%" stop-color="#57717b"/><stop offset="92.86%" stop-color="#566976"/><stop offset="100%" stop-color="#556270"/></linearGradient></defs><rect width="1440" height="600" fill="url(#bs-gradient)"/></svg>
dtcg
{
  "disco": {
    "$type": "gradient",
    "$value": [
      {
        "color": {
          "colorSpace": "srgb",
          "components": [
            0.306,
            0.804,
            0.769
          ],
          "hex": "#4ecdc4"
        },
        "position": 0
      },
      {
        "color": {
          "colorSpace": "srgb",
          "components": [
            0.333,
            0.384,
            0.439
          ],
          "hex": "#556270"
        },
        "position": 1
      }
    ],
    "$extensions": {
      "com.brandsweets": {
        "kind": "linear",
        "css": "linear-gradient(90deg in oklab, #4ecdc4 0%, #556270 100%)",
        "interpolation": "oklab",
        "angle": 90,
        "name": "Disco",
        "contrast": {
          "white": {
            "ratio": 1.935,
            "at": 0,
            "passesAA": false,
            "passesAALarge": false
          },
          "black": {
            "ratio": 3.367,
            "at": 1,
            "passesAA": false,
            "passesAALarge": true
          },
          "suggestedInk": "#000000"
        }
      }
    },
    "$description": "Disco (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 Disco gradient (#4ecdc4, #556270), 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