Colour to colour

Turquoise to Light Coral gradient

Turquoise (#40e0d0) into Light Coral (#f08080) — 164° apart on the OKLCH hue wheel. Below: the same two stops interpolated in OKLab and in OKLCH, side by side, because the difference is real and most generators never let you see it; then an eased version and a mesh, each with the worst-case contrast for white and black text. The engine's own pick for this pair is oklch: ΔH 164° > 140° — interpolating in oklch (shorter hue) keeps the midpoint saturated.

Turquoise → Light Coral
black text · worst 8.10:1 · AA
white 1.64 failsblack 8.10 AAbanding high

OKLab and OKLCH, side by side

Aa

A straight line through the a/b plane: the two hues meet halfway and desaturate a little at the midpoint. The safe default — it is what CSS and Tailwind default to.

white 1.64 failsblack 8.10 AAbanding high
css
linear-gradient(135deg in oklab, #40e0d0 0%, #f08080 100%)
Aa

OKLCH (shorter hue)

Open in maker →

Chroma and hue interpolate separately, so the midpoint keeps its saturation and the hue travels the short way round the wheel — richer, and it can pass through hues neither colour has.

white 1.64 failsblack 8.10 AAbanding high
css
linear-gradient(135deg in oklch shorter hue, #40e0d0 0%, #f08080 100%)

And the sRGB line most tools draw, for comparison — the number is the chroma that survives at the dullest point.

sRGB8%
OKLab14%
OKLCH97%

Eased and mesh

Aa

Eased (soft)

Open in maker →

A cubic-bezier(.4, 0, .6, 1) mix ratio baked into 15 stops: the transition lingers on each colour and moves faster through the middle, which is what makes a gradient read as designed rather than default.

white 1.64 failsblack 8.10 AAbanding high
css
linear-gradient(135deg in oklch shorter hue, #40e0d0 0%, #43e0cc 8.28%, #4ddfc0 16.03%, #5edcad 23.35%, #76d795 30.32%, #92d079 37.03%, #adc55d 43.56%, #c5b946 50%, #d9ab3c 56.44%, #e69e43 62.97%, #ee9253 69.68%, #f18a64 76.65%, #f28473 83.97%, #f1817d 91.72%, #f08080 100%)
Aa

Both colours as stacked radials over a base, laid out by a seeded Poisson-disc sampler — the same seed gives the same mesh forever. Exports as CSS, SVG and PNG.

white 1.95 failsblack 8.76 AAbanding high
css
background-color: #b9b5a8;
background-image: radial-gradient(circle farthest-corner at 29.99% 8.68%, rgba(240, 128, 128, 0.739) 0%, rgba(240, 128, 128, 0) 55.39%), radial-gradient(circle farthest-corner at 40.19% 83.93%, rgba(64, 224, 208, 0.874) 0%, rgba(64, 224, 208, 0) 49.13%);
background-image: radial-gradient(circle farthest-corner at 29.99% 8.68%, oklch(from #f08080 l c h / 0.7388) 0%, rgb(from #f08080 r g b / 0) 55.39%), radial-gradient(circle farthest-corner at 40.19% 83.93%, oklch(from #40e0d0 l c h / 0.8743) 0%, rgb(from #40e0d0 r g b / 0) 49.13%);

Report

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

Export

css
.gradient {
  background-image: linear-gradient(135deg, #40e0d0 0%, #51debb 7.14%, #66dba6 14.29%, #7bd690 21.43%, #90d07b 28.57%, #a4c967 35.71%, #b5c155 42.86%, #c5b946 50%, #d3af3d 57.14%, #dea63c 64.29%, #e79d43 71.43%, #ed944f 78.57%, #f18c5f 85.71%, #f2856f 92.86%, #f08080 100%);
  background-image: linear-gradient(135deg in oklch shorter hue, #40e0d0 0%, #f08080 100%);
}
tailwind v4
bg-linear-to-br/oklch from-[#40e0d0] to-[#f08080]
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="210" y1="-210" x2="1230" y2="810"><stop offset="0%" stop-color="#40e0d0"/><stop offset="7.14%" stop-color="#51debb"/><stop offset="14.29%" stop-color="#66dba6"/><stop offset="21.43%" stop-color="#7bd690"/><stop offset="28.57%" stop-color="#90d07b"/><stop offset="35.71%" stop-color="#a4c967"/><stop offset="42.86%" stop-color="#b5c155"/><stop offset="50%" stop-color="#c5b946"/><stop offset="57.14%" stop-color="#d3af3d"/><stop offset="64.29%" stop-color="#dea63c"/><stop offset="71.43%" stop-color="#e79d43"/><stop offset="78.57%" stop-color="#ed944f"/><stop offset="85.71%" stop-color="#f18c5f"/><stop offset="92.86%" stop-color="#f2856f"/><stop offset="100%" stop-color="#f08080"/></linearGradient></defs><rect width="1440" height="600" fill="url(#bs-gradient)"/></svg>
dtcg
{
  "turquoise-to-lightcoral": {
    "$type": "gradient",
    "$value": [
      {
        "color": {
          "colorSpace": "srgb",
          "components": [
            0.251,
            0.878,
            0.816
          ],
          "hex": "#40e0d0"
        },
        "position": 0
      },
      {
        "color": {
          "colorSpace": "srgb",
          "components": [
            0.941,
            0.502,
            0.502
          ],
          "hex": "#f08080"
        },
        "position": 1
      }
    ],
    "$extensions": {
      "com.brandsweets": {
        "kind": "linear",
        "css": "linear-gradient(135deg in oklch shorter hue, #40e0d0 0%, #f08080 100%)",
        "interpolation": "oklch",
        "hue": "shorter",
        "angle": 135,
        "name": "turquoise-to-lightcoral",
        "contrast": {
          "white": {
            "ratio": 1.642,
            "at": 0,
            "passesAA": false,
            "passesAALarge": false
          },
          "black": {
            "ratio": 8.099,
            "at": 0.9979,
            "passesAA": true,
            "passesAALarge": true
          },
          "suggestedInk": "#000000"
        }
      }
    },
    "$description": "Turquoise to Light Coral, interpolated in oklch."
  }
}

More from Turquoise

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

make a turquoise to light coral hero gradient in oklch that passes AA for white text, with grain if it bands

Want the agent to remember your picks and write them into a living brand? Create a free BrandSweets workspace.

Machine-readable: gradients.md