Brand gradient

Databricks gradient

The gradient Databricks's published colour tokens imply, derived by a pure function of the palette: primary → secondary in OKLab (OKLCH shorter hue when the hues are more than 140° apart; a tonal ramp when they are within ΔE 0.15), then a hero background with an ink that passes AA at the worst point along the line, a button surface with hover and active states, and the variant contact sheet. Same inputs, same gradients, forever — which is what makes them citable; the same values are served as --brand-gradient in the brand's brand.css.

Extracted
Version
3
Verified from the live site at databricks.com on 2 September 2026 (version 3).
Databricks
black text · worst 2.85:1 · fails
white 1.89 failsblack 2.85 failsbanding high

Hero and button

Aa

Hero background

Open in maker →

Chroma ×0.35 so it can carry text; ink white (inkFor at the midpoint). L shifted −0.25 until the ink passes AA at the worst point (4.65:1).

white 4.65 AAblack 1.16 failsbanding high
css
linear-gradient(135deg in oklch shorter hue, #8d6d66 0%, #6f2f23 50%, #330408 100%)
tailwind v4
bg-linear-to-br/oklch from-[#8d6d66] via-[#6f2f23] to-[#330408]
Aa

Button / CTA

Open in maker →

ΔL 0.08 top→bottom in the primary's hue (a lit surface, not a rainbow); hover L +0.03, active L −0.03. L shifted −0.10 so white ink gets as close as the ±0.1 bound allows to AA on the surface and both states (worst 4.20:1). Ink is below AA (4.20:1 at the worst point) — use it for large text only, or pick a darker/lighter primary for buttons.

white 4.74 AAblack 3.35 AA largebanding high
Get started
hover
active
label ink below AA — large text only
css
linear-gradient(180deg in oklch shorter hue, #e60e00 0%, #c40000 100%)
tailwind v4
bg-linear-to-b/oklch from-[#e60e00] to-[#c40000]

Variants

Aa
white 1.89 failsblack 2.85 failsbanding high
css
linear-gradient(135deg in oklch shorter hue, #ffa694 0%, #fc341c 50%, #b00000 100%)
tailwind v4
bg-linear-to-br/oklch from-[#ffa694] via-[#fc341c] to-[#b00000]
Aa

Partner hue from the analogous rule at the source colour's lightness.

white 3.71 AA largeblack 5.53 AAbanding high
css
linear-gradient(135deg in oklab, #fc341c 0%, #fa1885 100%)
tailwind v4
bg-linear-to-br/oklab from-[#fc341c] to-[#fa1885]
Aa

Complementary

Open in maker →

Partner hue from the complementary rule at the source colour's lightness. ΔH 180° > 140° — interpolating in oklch (shorter hue) keeps the midpoint saturated.

white 3.19 AA largeblack 5.61 AAbanding medium
css
linear-gradient(135deg in oklch shorter hue, #fc341c 0%, #159eb2 100%)
tailwind v4
bg-linear-to-br/oklch from-[#fc341c] to-[#159eb2]
Aa

Partner hue from the triadic rule at the source colour's lightness.

white 3.10 AA largeblack 5.65 AAbanding medium
css
linear-gradient(135deg in oklab, #fc341c 0%, #16a853 100%)
tailwind v4
bg-linear-to-br/oklab from-[#fc341c] to-[#16a853]

Report — brand gradient

  • white ink: worst 1.89:1 at 0% (fails AA); black ink: worst 2.85: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 high: ~9px bands at 1440px — add grain 19 (≈2% soft-light noise) or shorten the ramp.

Export

The custom properties below are byte-identical to the gradient block in brand.css; the DTCG token is what tokens.json carries.

css custom properties · brand.css
:root {
  /* Brand gradient (derived) */
  /* worst-case contrast: white 1.89:1, black 2.85:1 */
  --brand-gradient: linear-gradient(135deg in oklch shorter hue, #ffa694 0%, #fc341c 50%, #b00000 100%);
  /* hero — worst-case contrast: white 4.65:1 AA, black 1.16:1; ink passes AA at the worst point */
  --brand-gradient-hero: linear-gradient(135deg in oklch shorter hue, #8d6d66 0%, #6f2f23 50%, #330408 100%);
  --brand-gradient-hero-ink: #ffffff;
  /* button — worst-case contrast: white 4.74:1 AA, black 3.35:1 AA-large */
  --brand-gradient-button: linear-gradient(180deg in oklch shorter hue, #e60e00 0%, #c40000 100%);
  --brand-gradient-button-hover: linear-gradient(180deg in oklch shorter hue, #f12409 0%, #d30000 100%);
  --brand-gradient-button-active: linear-gradient(180deg in oklch shorter hue, #db0000 0%, #b50000 100%);
  --brand-gradient-button-ink: #ffffff;
  /* button ink: 4.2:1 — below AA */
}
svg · brand gradient
<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="#ffa694"/><stop offset="3.57%" stop-color="#ffa08d"/><stop offset="7.14%" stop-color="#ff9985"/><stop offset="10.71%" stop-color="#ff927e"/><stop offset="14.29%" stop-color="#ff8c76"/><stop offset="17.86%" stop-color="#ff856e"/><stop offset="21.43%" stop-color="#ff7e67"/><stop offset="25%" stop-color="#ff765f"/><stop offset="28.57%" stop-color="#ff6f57"/><stop offset="32.14%" stop-color="#ff674f"/><stop offset="35.71%" stop-color="#ff5e46"/><stop offset="39.29%" stop-color="#fe553d"/><stop offset="42.86%" stop-color="#fe4c34"/><stop offset="46.43%" stop-color="#fd4129"/><stop offset="50%" stop-color="#fc341c"/><stop offset="53.57%" stop-color="#f6311a"/><stop offset="57.14%" stop-color="#f12e18"/><stop offset="60.71%" stop-color="#eb2b16"/><stop offset="64.29%" stop-color="#e62815"/><stop offset="67.86%" stop-color="#e02513"/><stop offset="71.43%" stop-color="#db2111"/><stop offset="75%" stop-color="#d51e0e"/><stop offset="78.57%" stop-color="#d01b0c"/><stop offset="82.14%" stop-color="#cb170a"/><stop offset="85.71%" stop-color="#c51308"/><stop offset="89.29%" stop-color="#c00f05"/><stop offset="92.86%" stop-color="#bb0a03"/><stop offset="96.43%" stop-color="#b50502"/><stop offset="100%" stop-color="#b00000"/></linearGradient></defs><rect width="1440" height="600" fill="url(#bs-gradient)"/></svg>
dtcg · tokens.json
{
  "gradient": {
    "brand": {
      "$type": "gradient",
      "$value": [
        {
          "color": {
            "colorSpace": "srgb",
            "components": [
              1,
              0.651,
              0.58
            ],
            "hex": "#ffa694"
          },
          "position": 0
        },
        {
          "color": {
            "colorSpace": "srgb",
            "components": [
              0.988,
              0.204,
              0.11
            ],
            "hex": "#fc341c"
          },
          "position": 0.5
        },
        {
          "color": {
            "colorSpace": "srgb",
            "components": [
              0.69,
              0,
              0
            ],
            "hex": "#b00000"
          },
          "position": 1
        }
      ],
      "$extensions": {
        "com.brandsweets": {
          "kind": "linear",
          "css": "linear-gradient(135deg in oklch shorter hue, #ffa694 0%, #fc341c 50%, #b00000 100%)",
          "interpolation": "oklch",
          "hue": "shorter",
          "angle": 135,
          "name": "brand",
          "contrast": {
            "white": {
              "ratio": 1.886,
              "at": 0,
              "passesAA": false,
              "passesAALarge": false
            },
            "black": {
              "ratio": 2.846,
              "at": 1,
              "passesAA": false,
              "passesAALarge": false
            },
            "suggestedInk": "#000000"
          }
        }
      },
      "$description": "The canonical brand gradient (--brand-gradient)."
    },
    "hero": {
      "$type": "gradient",
      "$value": [
        {
          "color": {
            "colorSpace": "srgb",
            "components": [
              0.553,
              0.427,
              0.4
            ],
            "hex": "#8d6d66"
          },
          "position": 0
        },
        {
          "color": {
            "colorSpace": "srgb",
            "components": [
              0.435,
              0.184,
              0.137
            ],
            "hex": "#6f2f23"
          },
          "position": 0.5
        },
        {
          "color": {
            "colorSpace": "srgb",
            "components": [
              0.2,
              0.016,
              0.031
            ],
            "hex": "#330408"
          },
          "position": 1
        }
      ],
      "$extensions": {
        "com.brandsweets": {
          "kind": "linear",
          "css": "linear-gradient(135deg in oklch shorter hue, #8d6d66 0%, #6f2f23 50%, #330408 100%)",
          "interpolation": "oklch",
          "hue": "shorter",
          "angle": 135,
          "name": "hero",
          "ink": "#ffffff",
          "contrast": {
            "white": {
              "ratio": 4.654,
              "at": 0,
              "passesAA": true,
              "passesAALarge": true
            },
            "black": {
              "ratio": 1.162,
              "at": 1,
              "passesAA": false,
              "passesAALarge": false
            },
            "suggestedInk": "#ffffff"
          }
        }
      },
      "$description": "Low-chroma hero background with a text-safe ink (--brand-gradient-hero)."
    },
    "button": {
      "$type": "gradient",
      "$value": [
        {
          "color": {
            "colorSpace": "srgb",
            "components": [
              0.902,
              0.055,
              0
            ],
            "hex": "#e60e00"
          },
          "position": 0
        },
        {
          "color": {
            "colorSpace": "srgb",
            "components": [
              0.769,
              0,
              0
            ],
            "hex": "#c40000"
          },
          "position": 1
        }
      ],
      "$extensions": {
        "com.brandsweets": {
          "kind": "linear",
          "css": "linear-gradient(180deg in oklch shorter hue, #e60e00 0%, #c40000 100%)",
          "interpolation": "oklch",
          "hue": "shorter",
          "angle": 180,
          "name": "button",
          "ink": "#ffffff",
          "states": {
            "hover": "linear-gradient(180deg in oklch shorter hue, #f12409 0%, #d30000 100%)",
            "active": "linear-gradient(180deg in oklch shorter hue, #db0000 0%, #b50000 100%)"
          },
          "contrast": {
            "white": {
              "ratio": 4.743,
              "at": 0,
              "passesAA": true,
              "passesAALarge": true
            },
            "black": {
              "ratio": 3.347,
              "at": 1,
              "passesAA": false,
              "passesAALarge": true
            },
            "suggestedInk": "#ffffff"
          }
        }
      },
      "$description": "Button / CTA surface with hover and active states (--brand-gradient-button)."
    }
  }
}

Colours

mcpConnect your agent — Databricks's gradients on demand
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

brand_gradients for databricks-com — give me the hero CSS and the ink that passes AA, then a version in oklch

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

Databricks and its marks belong to their owner. This page uses the name nominatively to describe gradients derived from the brand's published colour values; it does not reproduce logos or other brand assets, and it is not affiliated with or endorsed by Databricks. Owner of this brand? Request a correction or removal → Machine-readable: gradients.md