Named gradient · WebGradients

Sharp Glass

Sharp Glass is a neutral gradient from WebGradients (MIT) — #c9ccd3 → #c9ccd3 at 0°. 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 13.06:1 · AA
white 1.61 failsblack 13.06 AAbanding low

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.

sRGB100%
OKLab100%
OKLCH100%

Report

  • white ink: worst 1.61:1 at 0% (fails AA); black ink: worst 13.06:1 at 0% (AA) → use black text.

Export

css
.gradient {
  background-image: linear-gradient(0deg, #c9ccd3 0%, #c9ccd3 7.14%, #c9ccd3 14.29%, #c9ccd3 21.43%, #c9ccd3 28.57%, #c9ccd3 35.71%, #c9ccd3 42.86%, #c9ccd3 50%, #c9ccd3 57.14%, #c9ccd3 64.29%, #c9ccd3 71.43%, #c9ccd3 78.57%, #c9ccd3 85.71%, #c9ccd3 92.86%, #c9ccd3 100%);
  background-image: linear-gradient(0deg in oklab, #c9ccd3 0%, #c9ccd3 100%);
}
tailwind v4
bg-linear-to-t/oklab from-[#c9ccd3] to-[#c9ccd3]
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="720" y1="600" x2="720" y2="0"><stop offset="0%" stop-color="#c9ccd3"/><stop offset="7.14%" stop-color="#c9ccd3"/><stop offset="14.29%" stop-color="#c9ccd3"/><stop offset="21.43%" stop-color="#c9ccd3"/><stop offset="28.57%" stop-color="#c9ccd3"/><stop offset="35.71%" stop-color="#c9ccd3"/><stop offset="42.86%" stop-color="#c9ccd3"/><stop offset="50%" stop-color="#c9ccd3"/><stop offset="57.14%" stop-color="#c9ccd3"/><stop offset="64.29%" stop-color="#c9ccd3"/><stop offset="71.43%" stop-color="#c9ccd3"/><stop offset="78.57%" stop-color="#c9ccd3"/><stop offset="85.71%" stop-color="#c9ccd3"/><stop offset="92.86%" stop-color="#c9ccd3"/><stop offset="100%" stop-color="#c9ccd3"/></linearGradient></defs><rect width="1440" height="600" fill="url(#bs-gradient)"/></svg>
dtcg
{
  "sharp-glass": {
    "$type": "gradient",
    "$value": [
      {
        "color": {
          "colorSpace": "srgb",
          "components": [
            0.788,
            0.8,
            0.827
          ],
          "hex": "#c9ccd3"
        },
        "position": 0
      },
      {
        "color": {
          "colorSpace": "srgb",
          "components": [
            0.788,
            0.8,
            0.827
          ],
          "hex": "#c9ccd3"
        },
        "position": 1
      }
    ],
    "$extensions": {
      "com.brandsweets": {
        "kind": "linear",
        "css": "linear-gradient(0deg in oklab, #c9ccd3 0%, #c9ccd3 100%)",
        "interpolation": "oklab",
        "angle": 0,
        "name": "Sharp Glass",
        "contrast": {
          "white": {
            "ratio": 1.608,
            "at": 0,
            "passesAA": false,
            "passesAALarge": false
          },
          "black": {
            "ratio": 13.061,
            "at": 0,
            "passesAA": true,
            "passesAALarge": true
          },
          "suggestedInk": "#000000"
        }
      }
    },
    "$description": "Sharp Glass (WebGradients, MIT), rendered in OKLab."
  }
}

Tagged

More neutral 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 Sharp Glass gradient (#c9ccd3, #c9ccd3), 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 WebGradients (MIT) — licences