---
version: "1.0.0"
name: Stripe Design System
description: The payments-infrastructure identity defined by a cool slate-neutral ramp, the blurple brand scale topped by #533afd, soft blue-tinted layered shadows, a 4px-radius component language, and the signature rainbow gradient blade cutting across white space.
colors:
  primary: "#533AFD"
  primary-hover: "#4032C8"
  on-primary: "#FFFFFF"
  primary-container: "#E8E9FF"
  on-primary-container: "#1C1E54"
  link: "#635BFF"
  surface: "#FFFFFF"
  surface-dim: "#F8FAFD"
  surface-container: "#E5EDF5"
  on-surface: "#061B31"
  on-surface-variant: "#50617A"
  outline: "#D4DEE9"
  outline-variant: "#E5EDF5"
  inverse-surface: "#0D1738"
  inverse-on-surface: "#F2F7FE"
  inverse-accent: "#00D4FF"
  on-inverse-accent: "#0A2540"
  error: "#D8351E"
typography:
  headline-display:
    fontFamily: Söhne
    fontSize: 56px
    fontWeight: 500
    lineHeight: 1.21
    letterSpacing: -0.02em
  headline-lg:
    fontFamily: Söhne
    fontSize: 48px
    fontWeight: 400
    lineHeight: 1.15
    letterSpacing: -0.02em
  headline-md:
    fontFamily: Söhne
    fontSize: 32px
    fontWeight: 400
    lineHeight: 1.1
    letterSpacing: -0.02em
  title-lg:
    fontFamily: Söhne
    fontSize: 26px
    fontWeight: 400
    lineHeight: 1.12
    letterSpacing: -0.01em
  title-md:
    fontFamily: Söhne
    fontSize: 22px
    fontWeight: 400
    lineHeight: 1.1
    letterSpacing: -0.01em
  title-sm:
    fontFamily: Söhne
    fontSize: 16px
    fontWeight: 500
    lineHeight: 1.4
  body-lg:
    fontFamily: Söhne
    fontSize: 22px
    fontWeight: 400
    lineHeight: 1.1
    letterSpacing: -0.01em
  body-md:
    fontFamily: Söhne
    fontSize: 16px
    fontWeight: 400
    lineHeight: 1.4
  body-sm:
    fontFamily: Söhne
    fontSize: 14px
    fontWeight: 400
    lineHeight: 1.43
  label-md:
    fontFamily: Söhne
    fontSize: 15px
    fontWeight: 500
    lineHeight: 1.6
  label-sm:
    fontFamily: Söhne
    fontSize: 13px
    fontWeight: 500
    lineHeight: 1.23
  code:
    fontFamily: Source Code Pro
    fontSize: 14px
    fontWeight: 500
    lineHeight: 1.5
rounded:
  xs: 2px
  sm: 4px
  md: 6px
  lg: 16px
  xl: 32px
  full: 99999px
spacing:
  base: 4px
  xs: 4px
  sm: 8px
  md: 16px
  lg: 24px
  xl: 32px
  2xl: 48px
  3xl: 64px
  4xl: 96px
  5xl: 128px
  gutter: 16px
  margin: 16px
  container-max: 1264px
components:
  button-primary:
    backgroundColor: "{colors.primary}"
    textColor: "{colors.on-primary}"
    typography: "{typography.label-md}"
    rounded: "{rounded.sm}"
    padding: "{spacing.md}"
    height: 48px
  button-primary-hover:
    backgroundColor: "{colors.primary-hover}"
    textColor: "{colors.on-primary}"
  button-cyan:
    backgroundColor: "{colors.inverse-accent}"
    textColor: "{colors.on-inverse-accent}"
    typography: "{typography.label-md}"
    rounded: "{rounded.full}"
    padding: "{spacing.sm}"
    height: 40px
  button-secondary:
    backgroundColor: "{colors.surface}"
    textColor: "{colors.link}"
    typography: "{typography.label-md}"
    rounded: "{rounded.full}"
    padding: "{spacing.sm}"
    height: 40px
  card-feature:
    backgroundColor: "{colors.surface}"
    textColor: "{colors.on-surface}"
    typography: "{typography.body-md}"
    rounded: "{rounded.md}"
    padding: "{spacing.lg}"
  card-dark-band:
    backgroundColor: "{colors.inverse-surface}"
    textColor: "{colors.inverse-on-surface}"
    typography: "{typography.body-md}"
    rounded: "{rounded.md}"
    padding: "{spacing.lg}"
  nav-header:
    backgroundColor: "{colors.surface-dim}"
    textColor: "{colors.on-surface-variant}"
    typography: "{typography.body-md}"
    padding: "{spacing.md}"
    height: 76px
  link-arrow:
    backgroundColor: transparent
    textColor: "{colors.link}"
    typography: "{typography.label-md}"
  code-block:
    backgroundColor: "{colors.inverse-surface}"
    textColor: "{colors.inverse-on-surface}"
    typography: "{typography.code}"
    rounded: "{rounded.md}"
    padding: "{spacing.md}"
---

## Overview

Stripe sells financial infrastructure to the internet economy, and its site is the canonical "engineered elegance" reference: a crisp white field of slate-navy typography, the famous rainbow gradient blade slicing diagonally through layouts, dark angled bands of deep indigo, and a product-surface discipline (4px radii, hairline borders, soft layered shadows) that reads as precision banking meets developer tooling.

The mood is calm authority — nothing shouts except the gradient, which does all the emotional work. Everything else is quiet: neutral surfaces (`#F8FAFD` / `#E5EDF5`), one family (Söhne) run in regular weights with subtle negative tracking, and a fully ramped blurple scale from `#F5F5FF` to `#0F1137`. Content density is high but never cramped — long pages alternate white product grids, dark indigo "terminal" bands with glowing code and dashboards, and stat sections lit by gradient numbers.

## Colors

The system is the `--hds-color-core-*` ramp: a 17-step cool neutral scale, a matched blurple brand scale (plus a brighter `brandDark` twin for dark sections), and a set of saturated "bento" accents that exist almost exclusively inside gradient artwork.

- **Primary — Stripe blurple (`#533AFD`, brand-600):** The main action fill and link-adjacent accent. Sits on a full ramp: `#F5F5FF` → `#E8E9FF`/`#E2E4FF`/`#D6D9FC`/`#B9B9F9`/`#9A9AFE`/`#7F7DFC`/`#665EFD` → `#533AFD` → `#4032C8`/`#2E2B8C`/`#1C1E54`/`#161741`/`#0F1137`.
- **Classic link blue (`#635BFF`):** The older blurple survives as the inline link/"learn more" color with its trailing chevron.
- **Neutral ramp:** `#FFFFFF` surface, `#F8FAFD` page tint, `#E5EDF5` hairlines and card borders, then `#D4DEE9`/`#BAC8DA`/`#95A4BA`/`#7D8BA4` → text grays `#64748D`/`#50617A`/`#3C4F69`/`#273951`/`#1A2C44`/`#11273E`/`#0D253D`/`#061B31` — the navy that carries every headline.
- **Dark bands:** Deep indigo-navy sections built from `#0D1738`/`#122054`/`#182659`/`#23356E`/`#2C2484` with `#F2F7FE` text and a signature `#00D4FF` cyan for CTAs and glowing accents inside the band.
- **Bento accents:** `#FF6118` orange, `#F44BCC`/`#A51D85` magenta, `#EA2261` ruby, `#F9B900` lemon, `#00B261` success, `#D8351E` error — used as gradient stops, icon fills, and product-tag hues rather than UI fills.
- **Signature gradients:** the rainbow blade `linear-gradient(#7500FB → #FF39DB)` and stat gradient `linear-gradient(270deg, #FFD601 → #EE30FB → #635BFF)` clipped into oversized numerals; dark bands run `linear-gradient(288deg, #0D1738 → #4032C8)`.

## Typography

One family — **Söhne** (variable, `sohne-var`, weight axis 1–1000) — covers the entire site; **Source Code Pro** handles code samples. The style is deliberately unfashionable: mostly weight 400–500, modest sizes, gentle -0.01 to -0.02em tracking — the gradient and layout do the flexing, not the type.

- **Display (56px/500):** Page headlines in `#0A2540` navy, line-height ~1.2.
- **Headlines (48/32px, weight 400):** Hero and section heads; tighter `1.1–1.15` leading with -2% tracking.
- **Titles (26/22/16px):** Product and bento-card titles; 16px steps up to weight 500.
- **Body (16px/400, 1.4):** Long-copy in `#50617A` slate; 22px for lead paragraphs in `#64748D`.
- **Labels (15px/500):** Button and link text, often with the trailing `>` chevron arrow motif.
- **Code:** Source Code Pro 14px/500 inside dark `#0D1738` blocks with syntax-tinted text.

## Layout

- **Grid:** 12 columns on a **1264px** content max-width with 16px gutters and 16px page margins — tight, but the whitespace around it is expansive.
- **Rhythm:** A strict 4px core scale (`core-50`=4 through `core-2500`=200). Section gaps run 96–128px (`core-1200`–`1600`); card interiors 24–48px.
- **Signature geometry:** Layouts are cut by **diagonal blades** — the rainbow gradient and dark indigo bands enter at ~10–15° angles, so sections are rarely simple horizontal strips. Column guides render as faint vertical hairlines on white sections.
- **Patterns:** Hero left-aligned under a small metric caption → logo strip → bento product grids with icon tags → dark angled band (code samples, dashboard screenshots, cyan CTA) → stat rows with gradient numbers → pricing cards → dense footer with flag icons and small-type columns.

## Elevation & Depth

Stripe's famous soft shadows are a **two-layer blue-tinted system**: every level pairs a large diffuse top shadow in `rgba(0,55,112,*)` with a small crisp bottom contact in `rgba(0,59,137,*)` — the blue cast keeps whites clean. The ramp runs `xs` (2px/10px) → `sm` (5px/14px) → `md` (6px/22px) → `lg` (15px/40px) → `xl` (20px/80px, -16px spread for floating modals). Marketing cards add the classic `rgba(50,50,93,.25) 0 30px 60px -15px` deep lift. On dark bands, depth comes instead from glow — cyan and gradient light bleeding off code blocks and UI mockups.

## Shapes

- **Buttons & inputs:** `4px` (`radius-sm`) — sharp, engineered corners; small icon buttons drop to `2px`.
- **Cards:** `6px` (`radius-md`) for product/bento cards, `16px` for large feature panels, `32px` for hero media frames.
- **Pills:** `99999px` reserved for nav-adjacent marketing CTAs (the cyan "Contact sales" pill, white "Log in" pill) and tag chips — so squared buttons and pill CTAs coexist: core product UI stays 4px, top-of-funnel marketing pills go fully round.
- **Icons:** geometric, gradient-tinted glyphs on `6px` tinted tiles.

## Motion & Micro-interaction

Motion is smooth, slightly elastic, and everywhere — Stripe animates nearly every property change on the page.

- **State changes:** 300ms `cubic-bezier(0.25, 1, 0.5, 1)` — the house curve — on color, fill, stroke, and transform (link hover color slides, chevron nudges, button fills).
- **Surface moves:** 600–800ms `cubic-bezier(0.165, 0.84, 0.44, 1)` (ease-out-quart) and `cubic-bezier(0.16, 1, 0.3, 1)` for panel slides, clip-path reveals, and the gradient blade's slow drift.
- **Details:** `stroke-dashoffset` line-drawing animations at ~1s; opacity micro-fades at 120–150ms linear.
- **Rule:** Prefer `transform`/`clip-path` for big moves; the rainbow blade itself is a continuously animated WebGL-style canvas — ambient motion is acceptable at hero scale, not in product UI.

## Voice & Content Strategy

- **Tone of voice:** Precise, confident, infrastructure-speak — "Financial infrastructure to grow your revenue". Benefits framed as capability and scale ("from your first transaction to your billionth"), never hype. Developer-respectful: no dumbing down.
- **Capitalization:** Sentence case throughout headings and UI; product names are title-cased brands (Payments, Billing, Connect, Atlas, Link, Radar, Sigma).
- **Terminology:** "Payments" not "checkout" for the product; "financial infrastructure" as the category; stats stated plainly ("1.75% of global GDP").
- **Button and action labels:** Verb + outcome ("Start now", "Contact sales", "Sign in"); inline links use "Learn more >" with the trailing-chevron convention everywhere.
- **Numbers as proof:** Live-ticking counters and gradient-styled statistics ("$1T+", "135+ currencies") carry the persuasion.

## Components

- **Primary button:** `#533AFD` fill, white text, `4px` radius, ~48px height, 15.5–16.5px vertical padding — the HDS core button.
- **Marketing CTAs:** Pill variants (99999px) — cyan `#00D4FF` with navy text inside dark bands, white with `#635BFF` text in the light nav.
- **Arrow links:** `#635BFF` 15px/500 text + trailing `>` chevron that nudges right on hover — the most-repeated component on the site.
- **Bento cards:** White `6px` cards on `#F8FAFD`, 1px `#E5EDF5` hairline, icon tile (gradient-tinted) + 22px title + slate copy; hover lifts with the layered blue shadow.
- **Dark band modules:** `#0D1738`→`#4032C8` diagonal sections holding Source Code Pro blocks, dashboard mockups with cyan glow accents, and cyan pill CTAs.
- **Nav:** `#F8FAFD` bar — stripe wordmark, dropdown links with tiny chevrons, "Sign in" arrow link, white pill + indigo pill pair; announcement bar above in darkest navy.
- **Pricing cards:** White/light card for standard pricing vs navy custom-pricing panel with cyan pill — the pair shows the full light/dark language in one view.
- **Stat blocks:** Oversized numerals filled with the `#FFD601→#EE30FB→#635BFF` gradient, small caption beneath.
- **Announcement bar:** Darkest-navy strip with white small text + arrow link.

## Do's and Don'ts

- Do keep type in Söhne at weight 400–500; the design earns drama from gradient and geometry, not font weight.
- Do use `#533AFD` for actions and `#635BFF` for inline links — they are different roles of the same blurple. (The classic link blue sits at ~4.4:1 on white — inherited brand behavior; for new surfaces prefer `#533AFD` text.)
- Do give shadows their blue cast (`rgba(0,55,112,*)` + `rgba(0,59,137,*)` pairs) — never plain gray shadows.
- Do cut sections with the diagonal blade/band motif rather than flat horizontal strips.
- Do use cyan `#00D4FF` only inside dark indigo bands — never on white.
- Don't use the rainbow/bento accent colors as UI fills or text; they live inside gradients, icons, and stat numerals.
- Don't round product buttons past `4px` — pills are reserved for marketing CTAs and chips.
- Don't write exclamation marks or hype copy; state capability in plain, declarative sentences.
- Do keep code samples in Source Code Pro on `#0D1738` — code is a first-class visual element.
- Don't crowd the 1264px grid — the design's authority comes from the whitespace outside it.
