Named gradient · uiGradients

50 Shades of Grey

50 Shades of Grey is a blue gradient from uiGradients (MIT) — #bdc3c7 → #2c3e50 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 1.91:1 · fails
white 1.78 failsblack 1.91 failsbanding 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.

sRGB36%
OKLab36%
OKLCH36%

Report

  • white ink: worst 1.78:1 at 0% (fails AA); black ink: worst 1.91:1 at 100% (fails AA) → use black text.
  • Neither ink passes AA at the worst point — treat as decorative or add a scrim (rgba(0,0,0,.35) typically lifts white ink past 4:1).
  • Banding medium: ~10px bands at 1440px — add grain 21 (≈2% soft-light noise) or shorten the ramp.

Export

css
.gradient {
  background-image: linear-gradient(90deg, #bdc3c7 0%, #b2b9be 7.14%, #a7afb5 14.29%, #9ca5ac 21.43%, #919ba3 28.57%, #86919b 35.71%, #7b8792 42.86%, #717d8a 50%, #667481 57.14%, #5c6b79 64.29%, #526170 71.43%, #485868 78.57%, #3f4f60 85.71%, #354758 92.86%, #2c3e50 100%);
  background-image: linear-gradient(90deg in oklab, #bdc3c7 0%, #2c3e50 100%);
}
tailwind v4
bg-linear-to-r/oklab from-[#bdc3c7] to-[#2c3e50]
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="#bdc3c7"/><stop offset="7.14%" stop-color="#b2b9be"/><stop offset="14.29%" stop-color="#a7afb5"/><stop offset="21.43%" stop-color="#9ca5ac"/><stop offset="28.57%" stop-color="#919ba3"/><stop offset="35.71%" stop-color="#86919b"/><stop offset="42.86%" stop-color="#7b8792"/><stop offset="50%" stop-color="#717d8a"/><stop offset="57.14%" stop-color="#667481"/><stop offset="64.29%" stop-color="#5c6b79"/><stop offset="71.43%" stop-color="#526170"/><stop offset="78.57%" stop-color="#485868"/><stop offset="85.71%" stop-color="#3f4f60"/><stop offset="92.86%" stop-color="#354758"/><stop offset="100%" stop-color="#2c3e50"/></linearGradient></defs><rect width="1440" height="600" fill="url(#bs-gradient)"/></svg>
dtcg
{
  "50-shades-of-grey": {
    "$type": "gradient",
    "$value": [
      {
        "color": {
          "colorSpace": "srgb",
          "components": [
            0.741,
            0.765,
            0.78
          ],
          "hex": "#bdc3c7"
        },
        "position": 0
      },
      {
        "color": {
          "colorSpace": "srgb",
          "components": [
            0.173,
            0.243,
            0.314
          ],
          "hex": "#2c3e50"
        },
        "position": 1
      }
    ],
    "$extensions": {
      "com.brandsweets": {
        "kind": "linear",
        "css": "linear-gradient(90deg in oklab, #bdc3c7 0%, #2c3e50 100%)",
        "interpolation": "oklab",
        "angle": 90,
        "name": "50 Shades of Grey",
        "contrast": {
          "white": {
            "ratio": 1.78,
            "at": 0,
            "passesAA": false,
            "passesAALarge": false
          },
          "black": {
            "ratio": 1.912,
            "at": 1,
            "passesAA": false,
            "passesAALarge": false
          },
          "suggestedInk": "#000000"
        }
      }
    },
    "$description": "50 Shades of Grey (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 50 Shades of Grey gradient (#bdc3c7, #2c3e50), 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