# PlanetScale gradient

Gradients derived from PlanetScale's published colour tokens (nominative use; no brand assets). Deterministic: the same values are served as `--brand-gradient*` in the brand's brand.css.

- Page: https://brandsweets.com/gradients/brands/planetscale-com
- Brand colors: https://brandsweets.com/colors/brands/planetscale-com · Brand page: https://brandsweets.com/b/planetscale-com
- Palette: primary #f35815, secondary #f35815, accents #0b6ec5
- Source: https://planetscale.com (extracted 2026-09-02)

## Brand gradient

ΔE_OK 0.000 < 0.15 between #f35815 and #f35815 — a 2-stop would read as a flat fill, so this is a tonal ramp of #f35815.

- CSS: `linear-gradient(135deg in oklch shorter hue, #ffb192 0%, #f35815 50%, #ac2200 100%)`
- Tailwind: `bg-linear-to-br/oklch from-[#ffb192] via-[#f35815] to-[#ac2200]`
- Contrast (worst point): white 1.76:1 fail · black 2.98:1 fail · banding high
- Maker: https://brandsweets.com/gradients/new/v1.ffb192-f35815-ac2200?a=135&in=oklch&hue=shorter

## Hero background

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

- CSS: `linear-gradient(135deg in oklch shorter hue, #8b6f64 0%, #683321 50%, #2d0305 100%)`
- Tailwind: `bg-linear-to-br/oklch from-[#8b6f64] via-[#683321] to-[#2d0305]`
- Contrast (worst point): white 4.61:1 AA · black 1.13:1 fail · banding high · ink #ffffff
- Maker: https://brandsweets.com/gradients/new/v1.8b6f64-683321-2d0305?a=135&in=oklch&hue=shorter

## Button / CTA

Δ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 3.80:1). Ink is below AA (3.80:1 at the worst point) — use it for large text only, or pick a darker/lighter primary for buttons.

- CSS: `linear-gradient(180deg in oklch shorter hue, #dd4300 0%, #be2900 100%)`
- Tailwind: `bg-linear-to-b/oklch from-[#dd4300] to-[#be2900]`
- Contrast (worst point): white 4.31:1 AA-large · black 3.51:1 AA-large · banding high · ink #ffffff
- Maker: https://brandsweets.com/gradients/new/v1.dd4300-be2900?a=180&in=oklch&hue=shorter
- Hover: `linear-gradient(180deg in oklch shorter hue, #e84e00 0%, #cb3000 100%)`
- Active: `linear-gradient(180deg in oklch shorter hue, #d33800 0%, #b02400 100%)`

## Tonal ramp

- CSS: `linear-gradient(135deg in oklch shorter hue, #ffb192 0%, #f35815 50%, #ac2200 100%)`
- Tailwind: `bg-linear-to-br/oklch from-[#ffb192] via-[#f35815] to-[#ac2200]`
- Contrast (worst point): white 1.76:1 fail · black 2.98:1 fail · banding high
- Maker: https://brandsweets.com/gradients/new/v1.ffb192-f35815-ac2200?a=135&in=oklch&hue=shorter

## Analogous

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

- CSS: `linear-gradient(135deg in oklab, #f35815 0%, #fc3d74 100%)`
- Tailwind: `bg-linear-to-br/oklab from-[#f35815] to-[#fc3d74]`
- Contrast (worst point): white 3.37:1 AA-large · black 6.05:1 AA · banding high
- Maker: https://brandsweets.com/gradients/new/v1.f35815-fc3d74?a=135

## Complementary

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

- CSS: `linear-gradient(135deg in oklch shorter hue, #f35815 0%, #1aa2c2 100%)`
- Tailwind: `bg-linear-to-br/oklch from-[#f35815] to-[#1aa2c2]`
- Contrast (worst point): white 2.99:1 fail · black 6.13:1 AA · banding medium
- Maker: https://brandsweets.com/gradients/new/v1.f35815-1aa2c2?a=135&in=oklch&hue=shorter

## Triadic

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

- CSS: `linear-gradient(135deg in oklab, #f35815 0%, #1aad72 100%)`
- Tailwind: `bg-linear-to-br/oklab from-[#f35815] to-[#1aad72]`
- Contrast (worst point): white 2.88:1 fail · black 6.22:1 AA · banding medium
- Maker: https://brandsweets.com/gradients/new/v1.f35815-1aad72?a=135

## CSS custom properties (brand.css)

```css
:root {
  /* Brand gradient (derived) */
  /* worst-case contrast: white 1.76:1, black 2.98:1 */
  --brand-gradient: linear-gradient(135deg in oklch shorter hue, #ffb192 0%, #f35815 50%, #ac2200 100%);
  /* hero — worst-case contrast: white 4.61:1 AA, black 1.13:1; ink passes AA at the worst point */
  --brand-gradient-hero: linear-gradient(135deg in oklch shorter hue, #8b6f64 0%, #683321 50%, #2d0305 100%);
  --brand-gradient-hero-ink: #ffffff;
  /* button — worst-case contrast: white 4.31:1 AA-large, black 3.51:1 AA-large */
  --brand-gradient-button: linear-gradient(180deg in oklch shorter hue, #dd4300 0%, #be2900 100%);
  --brand-gradient-button-hover: linear-gradient(180deg in oklch shorter hue, #e84e00 0%, #cb3000 100%);
  --brand-gradient-button-active: linear-gradient(180deg in oklch shorter hue, #d33800 0%, #b02400 100%);
  --brand-gradient-button-ink: #ffffff;
  /* button ink: 3.8:1 — below AA */
}
```

## Gradient maker

Every maker URL is the gradient's state: `/gradients/new/v1.<hex>-<hex>[_pos]?a=135&in=oklch&hue=shorter&e=soft&g=8`. Hand one to a human, let them refine, and read the link they return.

## Connect an agent

Point any MCP client at the BrandSweets gradients endpoint for the same engine and corpus:

- Endpoint: https://mcp.brandsweets.com/gradients/mcp
- Tools: `make_gradient` (2–5 colours → CSS with the interpolation space, Tailwind v4, SVG, PNG URL, DTCG token + the contrast/banding/gamut report), `brand_gradients` (brand slug or palette → brand gradient, hero, button, variants).
- Resource: `gradients://corpus` — the whole bundled corpus as JSON.
