# GitLab gradient

Gradients derived from GitLab'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/gitlab
- Brand colors: https://brandsweets.com/colors/brands/gitlab · Brand page: https://brandsweets.com/b/gitlab
- Palette: primary #fc6d26, secondary #6e49cb
- Source: https://gitlab.com (extracted 2026-08-30)

## Brand gradient

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

## Hero background

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

- CSS: `linear-gradient(135deg in oklab, #9c6b57 0%, #423b65 100%)`
- Tailwind: `bg-linear-to-br/oklab from-[#9c6b57] to-[#423b65]`
- Contrast (worst point): white 4.51:1 AA · black 2.04:1 fail · banding high · ink #ffffff
- Maker: https://brandsweets.com/gradients/new/v1.9c6b57-423b65?a=135

## 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. Black ink passes AA on the surface and both states (worst 5.60:1).

- CSS: `linear-gradient(180deg in oklch shorter hue, #ff7a37 0%, #ee600f 100%)`
- Tailwind: `bg-linear-to-b/oklch from-[#ff7a37] to-[#ee600f]`
- Contrast (worst point): white 2.60:1 fail · black 6.32:1 AA · banding high · ink #000000
- Maker: https://brandsweets.com/gradients/new/v1.ff7a37-ee600f?a=180&in=oklch&hue=shorter
- Hover: `linear-gradient(180deg in oklch shorter hue, #ff8d56 0%, #f86a21 100%)`
- Active: `linear-gradient(180deg in oklch shorter hue, #ff702b 0%, #e35600 100%)`

## Tonal ramp

- CSS: `linear-gradient(135deg in oklch shorter hue, #ffc5a8 0%, #fc6d26 50%, #b93500 100%)`
- Tailwind: `bg-linear-to-br/oklch from-[#ffc5a8] via-[#fc6d26] to-[#b93500]`
- Contrast (worst point): white 1.52:1 fail · black 3.57:1 AA-large · banding high
- Maker: https://brandsweets.com/gradients/new/v1.ffc5a8-fc6d26-b93500?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, #fc6d26 0%, #fc637d 100%)`
- Tailwind: `bg-linear-to-br/oklab from-[#fc6d26] to-[#fc637d]`
- Contrast (worst point): white 2.85:1 fail · black 7.21:1 AA · banding high
- Maker: https://brandsweets.com/gradients/new/v1.fc6d26-fc637d?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, #fc6d26 0%, #1cafd8 100%)`
- Tailwind: `bg-linear-to-br/oklch from-[#fc6d26] to-[#1cafd8]`
- Contrast (worst point): white 2.56:1 fail · black 7.22:1 AA · banding medium
- Maker: https://brandsweets.com/gradients/new/v1.fc6d26-1cafd8?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, #fc6d26 0%, #1cba84 100%)`
- Tailwind: `bg-linear-to-br/oklab from-[#fc6d26] to-[#1cba84]`
- Contrast (worst point): white 2.49:1 fail · black 7.36:1 AA · banding medium
- Maker: https://brandsweets.com/gradients/new/v1.fc6d26-1cba84?a=135

## CSS custom properties (brand.css)

```css
:root {
  /* Brand gradient (derived) */
  /* worst-case contrast: white 2.85:1, black 3.48:1 AA-large */
  --brand-gradient: linear-gradient(135deg in oklab, #fc6d26 0%, #6e49cb 100%);
  /* hero — worst-case contrast: white 4.51:1 AA, black 2.04:1; ink passes AA at the worst point */
  --brand-gradient-hero: linear-gradient(135deg in oklab, #9c6b57 0%, #423b65 100%);
  --brand-gradient-hero-ink: #ffffff;
  /* button — worst-case contrast: white 2.60:1, black 6.32:1 AA */
  --brand-gradient-button: linear-gradient(180deg in oklch shorter hue, #ff7a37 0%, #ee600f 100%);
  --brand-gradient-button-hover: linear-gradient(180deg in oklch shorter hue, #ff8d56 0%, #f86a21 100%);
  --brand-gradient-button-active: linear-gradient(180deg in oklch shorter hue, #ff702b 0%, #e35600 100%);
  --brand-gradient-button-ink: #000000;
}
```

## 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.
