Named gradient · WebGradients

Malibu Beach

Malibu Beach is a blue gradient from WebGradients (MIT) — #4facfe → #00f2fe 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 8.66:1 · AA
white 1.39 failsblack 8.66 AAbanding 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.

sRGB95%
OKLab92%
OKLCH97%

Report

  • white ink: worst 1.39:1 at 100% (fails AA); black ink: worst 8.66:1 at 0% (AA) → use black text.
  • Banding high: ~18px bands at 1440px — add grain 37 (≈2% soft-light noise) or shorten the ramp.

Export

css
.gradient {
  background-image: linear-gradient(0deg, #4facfe 0%, #4db1fe 7.14%, #4bb6fe 14.29%, #48bbff 21.43%, #46c0ff 28.57%, #43c5ff 35.71%, #3fcaff 42.86%, #3ccfff 50%, #38d4ff 57.14%, #33d9ff 64.29%, #2edeff 71.43%, #28e3ff 78.57%, #20e8fe 85.71%, #14edfe 92.86%, #00f2fe 100%);
  background-image: linear-gradient(0deg in oklab, #4facfe 0%, #00f2fe 100%);
}
tailwind v4
bg-linear-to-t/oklab from-[#4facfe] to-[#00f2fe]
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="#4facfe"/><stop offset="7.14%" stop-color="#4db1fe"/><stop offset="14.29%" stop-color="#4bb6fe"/><stop offset="21.43%" stop-color="#48bbff"/><stop offset="28.57%" stop-color="#46c0ff"/><stop offset="35.71%" stop-color="#43c5ff"/><stop offset="42.86%" stop-color="#3fcaff"/><stop offset="50%" stop-color="#3ccfff"/><stop offset="57.14%" stop-color="#38d4ff"/><stop offset="64.29%" stop-color="#33d9ff"/><stop offset="71.43%" stop-color="#2edeff"/><stop offset="78.57%" stop-color="#28e3ff"/><stop offset="85.71%" stop-color="#20e8fe"/><stop offset="92.86%" stop-color="#14edfe"/><stop offset="100%" stop-color="#00f2fe"/></linearGradient></defs><rect width="1440" height="600" fill="url(#bs-gradient)"/></svg>
dtcg
{
  "malibu-beach": {
    "$type": "gradient",
    "$value": [
      {
        "color": {
          "colorSpace": "srgb",
          "components": [
            0.31,
            0.675,
            0.996
          ],
          "hex": "#4facfe"
        },
        "position": 0
      },
      {
        "color": {
          "colorSpace": "srgb",
          "components": [
            0,
            0.949,
            0.996
          ],
          "hex": "#00f2fe"
        },
        "position": 1
      }
    ],
    "$extensions": {
      "com.brandsweets": {
        "kind": "linear",
        "css": "linear-gradient(0deg in oklab, #4facfe 0%, #00f2fe 100%)",
        "interpolation": "oklab",
        "angle": 0,
        "name": "Malibu Beach",
        "contrast": {
          "white": {
            "ratio": 1.388,
            "at": 0.9956,
            "passesAA": false,
            "passesAALarge": false
          },
          "black": {
            "ratio": 8.665,
            "at": 0,
            "passesAA": true,
            "passesAALarge": true
          },
          "suggestedInk": "#000000"
        }
      }
    },
    "$description": "Malibu Beach (WebGradients, 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 Malibu Beach gradient (#4facfe, #00f2fe), 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