# Snyk gradient

Gradients derived from Snyk'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/snyk-io
- Brand colors: https://brandsweets.com/colors/brands/snyk-io · Brand page: https://brandsweets.com/b/snyk-io
- Palette: primary #e4344b, secondary #ec3347, accents #ff00ff
- Source: https://snyk.io (extracted 2026-09-05)

## Brand gradient

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

- CSS: `linear-gradient(135deg in oklch shorter hue, #ff8f92 0%, #e4344b 50%, #9c001f 100%)`
- Tailwind: `bg-linear-to-br/oklch from-[#ff8f92] via-[#e4344b] to-[#9c001f]`
- Contrast (worst point): white 2.19:1 fail · black 2.43:1 fail · banding high
- Maker: https://brandsweets.com/gradients/new/v1.ff8f92-e4344b-9c001f?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.21 until the ink passes AA at the worst point (4.67:1).

- CSS: `linear-gradient(135deg in oklch shorter hue, #926a6a 0%, #6b3131 50%, #310610 100%)`
- Tailwind: `bg-linear-to-br/oklch from-[#926a6a] via-[#6b3131] to-[#310610]`
- Contrast (worst point): white 4.67:1 AA · black 1.16:1 fail · banding high · ink #ffffff
- Maker: https://brandsweets.com/gradients/new/v1.926a6a-6b3131-310610?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.08 so white ink gets as close as the ±0.1 bound allows to AA on the surface and both states (worst 4.48:1). Ink is below AA (4.48: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, #d52140 0%, #b80029 100%)`
- Tailwind: `bg-linear-to-b/oklch from-[#d52140] to-[#b80029]`
- Contrast (worst point): white 5.10:1 AA · black 3.07:1 AA-large · banding high · ink #ffffff
- Maker: https://brandsweets.com/gradients/new/v1.d52140-b80029?a=180&in=oklch&hue=shorter
- Hover: `linear-gradient(180deg in oklch shorter hue, #e03048 0%, #c30031 100%)`
- Active: `linear-gradient(180deg in oklch shorter hue, #cb0d37 0%, #ab0023 100%)`

## Tonal ramp

- CSS: `linear-gradient(135deg in oklch shorter hue, #ff8f92 0%, #e4344b 50%, #9c001f 100%)`
- Tailwind: `bg-linear-to-br/oklch from-[#ff8f92] via-[#e4344b] to-[#9c001f]`
- Contrast (worst point): white 2.19:1 fail · black 2.43:1 fail · banding high
- Maker: https://brandsweets.com/gradients/new/v1.ff8f92-e4344b-9c001f?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, #e4344b 0%, #d93295 100%)`
- Tailwind: `bg-linear-to-br/oklab from-[#e4344b] to-[#d93295]`
- Contrast (worst point): white 4.28:1 AA-large · black 4.83:1 AA · banding high
- Maker: https://brandsweets.com/gradients/new/v1.e4344b-d93295?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, #e4344b 0%, #2f9297 100%)`
- Tailwind: `bg-linear-to-br/oklch from-[#e4344b] to-[#2f9297]`
- Contrast (worst point): white 3.69:1 AA-large · black 4.87:1 AA · banding medium
- Maker: https://brandsweets.com/gradients/new/v1.e4344b-2f9297?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, #e4344b 0%, #43982a 100%)`
- Tailwind: `bg-linear-to-br/oklab from-[#e4344b] to-[#43982a]`
- Contrast (worst point): white 3.63:1 AA-large · black 4.88:1 AA · banding high
- Maker: https://brandsweets.com/gradients/new/v1.e4344b-43982a?a=135

## CSS custom properties (brand.css)

```css
:root {
  /* Brand gradient (derived) */
  /* worst-case contrast: white 2.19:1, black 2.43:1 */
  --brand-gradient: linear-gradient(135deg in oklch shorter hue, #ff8f92 0%, #e4344b 50%, #9c001f 100%);
  /* hero — worst-case contrast: white 4.67:1 AA, black 1.16:1; ink passes AA at the worst point */
  --brand-gradient-hero: linear-gradient(135deg in oklch shorter hue, #926a6a 0%, #6b3131 50%, #310610 100%);
  --brand-gradient-hero-ink: #ffffff;
  /* button — worst-case contrast: white 5.10:1 AA, black 3.07:1 AA-large */
  --brand-gradient-button: linear-gradient(180deg in oklch shorter hue, #d52140 0%, #b80029 100%);
  --brand-gradient-button-hover: linear-gradient(180deg in oklch shorter hue, #e03048 0%, #c30031 100%);
  --brand-gradient-button-active: linear-gradient(180deg in oklch shorter hue, #cb0d37 0%, #ab0023 100%);
  --brand-gradient-button-ink: #ffffff;
  /* button ink: 4.5: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.
