Named gradient · uiGradients

Red Mist

Red Mist is a red gradient from uiGradients (MIT) — #000000 → #e74c3c 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
white text · worst 3.82:1 · AA large
white 3.82 AA largeblack 1.00 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.

sRGB0%
OKLab0%
OKLCH0%

Report

  • white ink: worst 3.82:1 at 100% (AA-large only); black ink: worst 1.00:1 at 0% (fails AA) → use white 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.
  • Black text disappears completely at 0% (1.00:1 crossing).
  • Banding medium: ~6px bands at 1440px — add grain 11 (≈1% soft-light noise) or shorten the ramp.

Export

css
.gradient {
  background-image: linear-gradient(90deg, #000000 0%, #010000 7.14%, #080100 14.29%, #160201 21.43%, #250603 28.57%, #360b07 35.71%, #47110c 42.86%, #591811 50%, #6c1f17 57.14%, #7f261d 64.29%, #932d23 71.43%, #a73529 78.57%, #bc3c2f 85.71%, #d14435 92.86%, #e74c3c 100%);
  background-image: linear-gradient(90deg in oklab, #000000 0%, #e74c3c 100%);
}
tailwind v4
bg-linear-to-r/oklab from-[#000000] to-[#e74c3c]
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="#000000"/><stop offset="7.14%" stop-color="#010000"/><stop offset="14.29%" stop-color="#080100"/><stop offset="21.43%" stop-color="#160201"/><stop offset="28.57%" stop-color="#250603"/><stop offset="35.71%" stop-color="#360b07"/><stop offset="42.86%" stop-color="#47110c"/><stop offset="50%" stop-color="#591811"/><stop offset="57.14%" stop-color="#6c1f17"/><stop offset="64.29%" stop-color="#7f261d"/><stop offset="71.43%" stop-color="#932d23"/><stop offset="78.57%" stop-color="#a73529"/><stop offset="85.71%" stop-color="#bc3c2f"/><stop offset="92.86%" stop-color="#d14435"/><stop offset="100%" stop-color="#e74c3c"/></linearGradient></defs><rect width="1440" height="600" fill="url(#bs-gradient)"/></svg>
dtcg
{
  "red-mist": {
    "$type": "gradient",
    "$value": [
      {
        "color": {
          "colorSpace": "srgb",
          "components": [
            0,
            0,
            0
          ],
          "hex": "#000000"
        },
        "position": 0
      },
      {
        "color": {
          "colorSpace": "srgb",
          "components": [
            0.906,
            0.298,
            0.235
          ],
          "hex": "#e74c3c"
        },
        "position": 1
      }
    ],
    "$extensions": {
      "com.brandsweets": {
        "kind": "linear",
        "css": "linear-gradient(90deg in oklab, #000000 0%, #e74c3c 100%)",
        "interpolation": "oklab",
        "angle": 90,
        "name": "Red Mist",
        "contrast": {
          "white": {
            "ratio": 3.82,
            "at": 1,
            "passesAA": false,
            "passesAALarge": true
          },
          "black": {
            "ratio": 1,
            "at": 0,
            "passesAA": false,
            "passesAALarge": false
          },
          "suggestedInk": "#ffffff"
        }
      }
    },
    "$description": "Red Mist (uiGradients, MIT), rendered in OKLab."
  }
}

Tagged

More red 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 Red Mist gradient (#000000, #e74c3c), 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