HopperLabs.aiBranding
Live Theme Preview:
HopperLabs Orange · Light

Brand Architecture

Building a brand system that holds up in production

Seven stages take an identity from declarative JSON tokens to verified WCAG 2.2 contrast math, cool slate dark mode, and automated CI checks.

Stage 01brands/<id>.json + SHA-256 provenance

Strategy & Identity Authority

Every brand begins as one declarative JSON file under hopperlabs.brand/v1 rather than scattered hex values across repositories. Child brands inherit shared guarantees via extends and override only what is deliberately distinct.

  • Document exact wordmark rules (capitalization, suffix handling, lockup cadence).
  • Declare parent inheritance so fixed tile colors and motion limits stay aligned.
  • Pin every logo SVG and self-hosted font file by SHA-256 digest.
Reference ContractStage 01
{
  "schema": "hopperlabs.brand/v1",
  "id": "studio",
  "extends": "hopperlabs",
  "name": "Hopper Studio",
  "selections": ["studio-orange-v001.json"]
}
Stage 02color.light / color.dark / fixed

Semantic Color Roles & Restraint

Name tokens for what they do, never raw hues: ground, surface, well, ink, muted, action, action-ink, accent-soft, link, focus, and semantic statuses. Orange belongs on the one primary action, the selected state, and the mark — and nowhere else.

  • Pair vibrant Studio Orange (#ef6d32) with deep espresso ink (#35170a, 5.40:1 AA) so primary actions stay pure orange without muddy darkening.
  • Keep metadata chips, secondary controls, and section tags in crisp neutral grey and white.
  • Reserve --accent-soft (#ffeadf) strictly for the active selection — never generic decoration.
Reference ContractStage 02
:root {
  --ground: #f5f6f7;
  --surface: #ffffff;
  --ink: #202124;
  --action: #ef6d32;      /* Pure Studio Orange CTA */
  --action-ink: #35170a;  /* Deep espresso ink (5.40:1 AA) */
  --focus: #df5b24;       /* Strong orange focus ring (3.71:1 UI) */
  --link: #8b3513;        /* Readable inline link (7.75:1 AA) */
}
Stage 03scripts/check.mjs contrast matrix

WCAG 2.2 Contrast Math

Every foreground/background pair is checked mathematically via IEC 61966-2-1 relative luminance before release. Normal text meets >= 4.5:1 (SC 1.4.3); focus rings, control borders, and icons meet >= 3.0:1 (SC 1.4.11).

  • Check --ink, --ink-2, --muted, and --link across ground, surface, well, and selected tint.
  • Verify --action-ink (#35170a) against --action (#ef6d32) and hover (#f58a52) in both modes.
  • Verify --focus (#df5b24 light / #ef6d32 dark) and --rule-control (#7b808a) meet >= 3.0:1 UI contrast.
Reference ContractStage 03
// Studio Orange verified ratios:
// #35170a on #ef6d32 (--action)      => 5.40:1 PASS (AA)
// #8b3513 on #ffffff (--link)        => 7.75:1 PASS (AAA)
// #8b3513 on #ffeadf (selected link) => 6.91:1 PASS (AA)
// #df5b24 on #ffffff (--focus UI)    => 3.71:1 PASS (SC 1.4.11)
// #ffffff on #ef6d32 (AVOID text)    => 3.04:1 FAIL (< 4.5:1)
Stage 04data-mode + prefers-color-scheme

Light & Dark Mode Parity

Studio Orange Dark moves onto cool slate-graphite surfaces (#171c20 ground, #1c2226 surface, #263037 raised) with crisp #edf1f2 ink and #f8b08c links while keeping the exact same vibrant #ef6d32 / #35170a primary action.

  • Emit color-scheme: light / dark so native scrollbars and form controls match automatically.
  • Use cool slate-graphite surfaces in dark mode so orange glows cleanly without muddy brown backgrounds.
  • Keep fixed tile colors invariant across light and dark modes.
Reference ContractStage 04
:root[data-mode="dark"] {
  --ground: #171c20;
  --surface: #1c2226;
  --ink: #edf1f2;
  --action: #ef6d32;
  --action-ink: #35170a; /* 5.40:1 AA */
  --link: #f8b08c;       /* 8.70:1 AAA */
  color-scheme: dark;
}
Stage 05type.{sans,serif,mono,wordmark,headline,eyebrow}

Typography & Self-Hosted Custody

Type carries a brand's voice before color registers. Every font is either a native system stack or self-hosted WOFF2 inside the site's own static origin, avoiding third-party font requests and CSP exceptions.

  • Declare explicit display, body, and mono stacks with metric-compatible fallbacks.
  • Enable font-variant-numeric: tabular-nums on financial tables, ratios, and counts.
  • Hold editorial line lengths around 60-72ch with tight negative tracking on headlines.
Reference ContractStage 05
/* Self-hosted or system stack — no third-party font CDN */
--sans: Inter, ui-sans-serif, system-ui, -apple-system, sans-serif;
--mono: ui-monospace, SFMono-Regular, Menlo, monospace;
font-variant-numeric: tabular-nums;
Stage 06shape.* + motion.* + @view-transition

Geometry, Elevation & Motion

Corner radii and motion express temperament: 8px/12px calm clarity for HopperLabs, 6px/8px dense precision for Simple Jacks, 4px/6px milled corners for RivalShot. Transitions stay <= 0.5s and halt under prefers-reduced-motion.

  • Maintain a concentric radius ladder (inner < control < card < sheet < pill).
  • Cross-fade page navigation with @view-transition { navigation: auto } while holding .brand-header still.
  • Honor @media (prefers-reduced-motion: reduce) across transitions, keyframes, and canvases.
Reference ContractStage 06
@view-transition { navigation: auto; }
.brand-header { view-transition-name: brand-header; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
Stage 07bun run brand-check -> { ok: true, findings: [] }

Automated brand-check Enforcement

Standards hold when verified in CI. @hopperlabs/brand-assets ships checkSite() to inspect built CSS for off-palette hex values, unauthorized typefaces, unapproved animations > 0.5s, and missing view transitions.

  • Reject raw hex or rgb values outside the brand's resolved palette automatically.
  • Reject serif leaks inside sans-only brands and unauthorized font families.
  • Gate fleet rollouts with Brand Scope Guards so Tier 3 brands stay untouched.
Reference ContractStage 07
// checkSite(brandId, [distCssDir]) verifies:
// 1. --brand-id matches declared brand stylesheet
// 2. Every hex/rgb color belongs to resolved palette(brandId)
// 3. Every font-family belongs to brand.type.{sans,serif,mono}
// 4. Zero durations > brand.motion.longest (0.5s) unless allowlisted

Why Studio Orange Stays Pure

Keeping bright orange accessible without muddying the hue

Pure Studio Orange (#ef6d32) has relative luminance L = 0.2952. White text over #ef6d32 measures 3.04:1, below WCAG 2.2 AA (4.5:1). Darkening orange to chase white text turns it brick-red. Instead, Studio Orange keeps its exact hue and pairs roles honestly:

--action: #ef6d32 + --action-ink: #35170a
Vibrant Studio Orange primary buttons with deep espresso ink reach 5.40:1 AA in both light and dark modes.
--focus: #df5b24
Strong orange focus rings measure 3.71:1 on white and 3.43:1 on ground (exceeding SC 1.4.11's 3.0:1 bar).
--link: #8b3513 (light) / #f8b08c (dark)
Inline prose links reach 7.75:1 AAA on white and 6.91:1 AA on selected tint #ffeadf.

Try It Live

Test contrast pairs and export tokens

Open the WCAG 2.2 Workbench to compare #35170a on #ef6d32 against white on orange, inspect relative luminance live, and copy clean CSS or JSON tokens for any estate brand.