W3C Design Tokens
3 filesCross-tool design-token spec (DTCG/W3C). Light + dark mode siblings.
Stanford University — the private research university whose institutional voice has rested on Cardinal red since the university's founding. The Stanford Identity Guide pairs Cardinal Red (#8C1515) with a warm black (#2E2D29) and Cool Grey on a white canvas, with a distinct digital palette that reserves Digital Blue for links and Digital Green for form validation. The brand voice is restrained, scholarly, and unmistakably West-Coast: confident colour, generous whitespace, and a refusal to use Digital Red as a stand-in for Cardinal.
Use the [email protected] brand from brand-atoms.com.
Fetch https://brand-atoms.com/dist/brands/stanford/1.0.0/json/brand.json
and apply its role mappings (primary, accent, identity, etc.),
reference the fonts in references.fonts, and honor every rule where
severity is "error". Surface any deviation you choose to make.
All converter outputs for [email protected]. Served from
/dist/brands/stanford/1.0.0/.
Cross-tool design-token spec (DTCG/W3C). Light + dark mode siblings.
Plain JSON mirror of the resolved brand — palette, fonts, roles, rules.
CSS custom properties on :root with prefers-color-scheme dark.
SCSS variables + Sass maps for swatches, roles, and fonts.
Tailwind v3 theme.extend.colors + fontFamily.
Figma Tokens plugin JSON (Tokens Studio compatible).
Swift enums for SwiftUI / UIKit color + font tokens.
Kotlin objects for Jetpack Compose color + typography tokens.
Human-readable brand guide. Same source as the on-page Brand Guide.
Inline rendering of the Markdown brand guide. Same source as the
markdown/brand-guide.md download.
Stanford University — the private research university whose institutional voice has rested on Cardinal red since the university's founding. The Stanford Identity Guide pairs Cardinal Red (#8C1515) with a warm black (#2E2D29) and Cool Grey on a white canvas, with a distinct digital palette that reserves Digital Blue for links and Digital Green for form validation. The brand voice is restrained, scholarly, and unmistakably West-Coast: confident colour, generous whitespace, and a refusal to use Digital Red as a stand-in for Cardinal.
Tags: stanford, university, education, cardinal, conservative-institutional, light-first
Stanford · [email protected] · Proprietary — All Rights Reserved (Stanford trademarks)
The Stanford University brand palette as published in Stanford's Identity Guide. The primary palette is Cardinal red, white, black (#2E2D29 — a warm near-black), and Cool Grey. A digital accent palette adds Digital Red, Digital Blue (links only), and Digital Green (form validation). Black tints in 10% increments expand the neutral ramp. The Identity Guide is emphatic that Cardinal Red is the institutional colour and Digital Red is an accent — not a replacement.
| Role | Font | License | Classification |
|---|---|---|---|
heading |
Source Sans 3 ([email protected]) |
OFL-1.1 | sans-serif |
body |
Source Sans 3 ([email protected]) |
OFL-1.1 | sans-serif |
serif |
Lora ([email protected]) |
OFL-1.1 | serif |
mono |
JetBrainsMono Nerd Font ([email protected]) |
OFL-1.1 | monospace |
| ID | Name | Value |
|---|---|---|
cardinal-red |
Cardinal Red | #8C1515 |
cardinal-red-light |
Cardinal Red Light | #B83A4B |
cardinal-red-dark |
Cardinal Red Dark | #820000 |
white |
White | #FFFFFF |
black |
Black | #2E2D29 |
cool-grey |
Cool Grey | #53565A |
black-90 |
Black 90 | #43423E |
black-10 |
Black 10 | #EAEAEA |
digital-red |
Digital Red | #B1040E |
digital-red-light |
Digital Red Light | #E50808 |
digital-red-dark |
Digital Red Dark | #820000 |
digital-blue |
Digital Blue | #006CB8 |
digital-blue-light |
Digital Blue Light | #6FC3FF |
digital-blue-dark |
Digital Blue Dark | #00548F |
digital-green |
Digital Green | #008566 |
digital-green-light |
Digital Green Light | #1AECBA |
digital-green-dark |
Digital Green Dark | #006F54 |
| Role | Swatch | Hex |
|---|---|---|
background |
white |
#FFFFFF |
surface |
black-10 |
#EAEAEA |
surface-elevated |
white |
#FFFFFF |
text-primary |
black |
#2E2D29 |
text-secondary |
cool-grey |
#53565A |
text-tertiary |
black-90 |
#43423E |
primary |
cardinal-red |
#8C1515 |
primary-hover |
cardinal-red-dark |
#820000 |
accent |
digital-red |
#B1040E |
accent-hover |
digital-red-dark |
#820000 |
link |
digital-blue |
#006CB8 |
link-hover |
digital-blue-dark |
#00548F |
warning |
digital-red |
#B1040E |
warning-hover |
digital-red-dark |
#820000 |
error |
digital-red |
#B1040E |
success |
digital-green |
#008566 |
border |
black-10 |
#EAEAEA |
| Role | Swatch | Hex |
|---|---|---|
background |
black |
#2E2D29 |
surface |
black-90 |
#43423E |
surface-elevated |
cool-grey |
#53565A |
text-primary |
white |
#FFFFFF |
text-secondary |
black-10 |
#EAEAEA |
text-tertiary |
cool-grey |
#53565A |
primary |
cardinal-red-light |
#B83A4B |
primary-hover |
cardinal-red |
#8C1515 |
accent |
digital-red-light |
#E50808 |
accent-hover |
digital-red |
#B1040E |
link |
digital-blue-light |
#6FC3FF |
link-hover |
digital-blue |
#006CB8 |
warning |
digital-red-light |
#E50808 |
warning-hover |
digital-red |
#B1040E |
error |
digital-red-light |
#E50808 |
success |
digital-green-light |
#1AECBA |
border |
cool-grey |
#53565A |
| Role | Swatch | Hex |
|---|---|---|
identity |
white |
#FFFFFF |
on-identity |
black |
#2E2D29 |
primary |
cardinal-red |
#8C1515 |
primary-hover |
cardinal-red-dark |
#820000 |
accent |
digital-red |
#B1040E |
accent-hover |
digital-red-dark |
#820000 |
mark |
cardinal-red |
#8C1515 |
success |
digital-green |
#008566 |
warning |
digital-red |
#B1040E |
error |
digital-red |
#B1040E |
text-primary-light |
black |
#2E2D29 |
text-primary-dark |
white |
#FFFFFF |
background-light |
white |
#FFFFFF |
background-dark |
black |
#2E2D29 |
surface-light |
black-10 |
#EAEAEA |
surface-dark |
black-90 |
#43423E |
text-secondary-light |
cool-grey |
#53565A |
text-tertiary-light |
black-90 |
#43423E |
border-light |
black-10 |
#EAEAEA |
| Role | Font role key |
|---|---|
display |
heading |
prose |
body |
code |
mono |
colorChoice → roles.colors.primaryCardinal Red (#8C1515) is Stanford's institutional colour. The Stanford Identity Guide is explicit that Digital Red "is not a replacement for Cardinal red" and that Digital Blue and Digital Green are role-restricted (links and form validation). The primary brand colour role MUST be Cardinal — no exceptions.
colorChoice → roles.colors.markThe Stanford wordmark, block-S, and tree mark are reproduced in Cardinal Red, solid black, or solid white (reversed). Digital Red MUST NOT be used to colorize the Stanford wordmark per the published guidance.
contrastRatio → text-primarybackground7WCAG-AAAStanford Black (#2E2D29) on white gives ~14:1 — clears AAA. As a research university with extensive long-form scholarly content and obligations under ADA / Section 504, Stanford's surfaces target the enhanced 7:1 floor rather than the AA 4.5:1 minimum.
contextRestriction → roles.colors.linkThe Identity Guide reserves Digital Blue (#006CB8) "exclusively for links" on digital communications. Repurposing it for confirmation, error, or data-viz roles breaks the link-affordance contract Stanford visitors rely on.
contextRestriction → roles.colors.successDigital Green (#008566) is documented as the form-validation colour. Using it for errors or as a link colour inverts the semantics the Identity Guide assigns it.
forbiddenTreatment → logoStanford's brand standards prohibit stretching, rotating, recolouring, outlining, or applying decorative treatments to the wordmark, block-S, or tree. Marks render in solid Cardinal Red, solid black, or solid white only, with documented clear-space.
fontPairing → typography.displayprose1.5Stanford's editorial hierarchy pairs a large display sans with body sans at a minimum 1.5× ratio. The Identity Guide depends on that gap for the legible scholarly voice the institution projects.
enumMembership → typography.heading.fontWeightStanford's Identity Guide type ramp anchors on Regular (400), SemiBold (600), and Bold (700) for headings and body. Heavier display cuts (800/900) are not part of the published institutional ramp.
accessibilityRequirement → *WCAG-AAA1.4.6WCAG 2.1 Success Criterion 1.4.6 (Contrast Enhanced) — Level AAA. Stanford's research / scholarly posture and its obligations to a diverse academic community justify the enhanced 7:1 target on core text-on-background pairs.
compositionConstraint → roles.colors.primaryCardinal Red reads cleanest on white, soft black-tint surfaces, or against the warm institutional black. Adjacent to Digital Red or the light Cardinal tint, the two reds vibrate without resolving into hierarchy — and the Identity Guide treats their roles as semantically distinct.
Proprietary — All Rights Reserved (Stanford trademarks)2026-05-19Generated by the brand-atoms converter. Source: [email protected] from the encyclopedia.
Every block below renders from the resolved palette + font references on this brand. Swap the brand and the same template re-themes — no per-brand component code required.
Body copy renders in the brand's prose font on the brand's background.
Inline links and highlighted phrases pick up
the brand's primary and highlight roles. Code spans like brand.references.palette
fall back to the monospace face.
A blockquote uses the brand's accent color as its rule. Useful for pulling tagline copy out of running prose.
Neutral status — provides supplemental context without urgency. Uses the brand's primary as the rule.
Confirms a completed action — palette role success determines the rule color.
Calls out something that needs attention but isn't an error — palette role warning.
Surfaces a failure that blocks progress — palette role error. Use sparingly.
| Role | Resolves to | Mode |
|---|---|---|
| primary | brand color #1 | light + dark |
| accent | brand color #2 | light + dark |
| warning | brand warning | light + dark |
| error | brand error | light + dark |
[email protected][email protected][email protected][email protected][email protected]Brand-level role overrides on top of palette-default mappings. Each role resolves to a concrete swatch or font reference.
→ digital-red #B1040E → digital-red-dark #820000 → black #2E2D29 → white #FFFFFF → black-10 #EAEAEA → digital-red #B1040E → white #FFFFFF → cardinal-red #8C1515 → black #2E2D29 → cardinal-red #8C1515 → cardinal-red-dark #820000 → digital-green #008566 → black-90 #43423E → black-10 #EAEAEA → white #FFFFFF → black #2E2D29 → cool-grey #53565A → black-90 #43423E → digital-red #B1040E → mono JetBrainsMono Nerd Font → heading Source Sans 3 → body Source Sans 3 → digital-red → digital-red-dark → white → black-10 → digital-red → digital-blue → digital-blue-dark → cardinal-red → cardinal-red-dark → digital-green → black-10 → white → black → cool-grey → black-90 → digital-red → digital-red-dark → digital-red-light → digital-red → black → cool-grey → digital-red-light → digital-blue-light → digital-blue → cardinal-red-light → cardinal-red → digital-green-light → black-90 → cool-grey → white → black-10 → cool-grey → digital-red-light → digital-red colorChoice roles.colors.primary allowed cardinal-red, cardinal-red-dark forbidden digital-red, digital-red-light, digital-blue, digital-green Cardinal Red (#8C1515) is Stanford's institutional colour. The Stanford Identity Guide is explicit that Digital Red "is not a replacement for Cardinal red" and that Digital Blue and Digital Green are role-restricted (links and form validation). The primary brand colour role MUST be Cardinal — no exceptions.
colorChoice roles.colors.mark allowed cardinal-red, black, white forbidden digital-red, digital-red-light, digital-blue, cardinal-red-light The Stanford wordmark, block-S, and tree mark are reproduced in Cardinal Red, solid black, or solid white (reversed). Digital Red MUST NOT be used to colorize the Stanford wordmark per the published guidance.
contrastRatio text-primary against background minRatio 7 standard WCAG-AAA Stanford Black (#2E2D29) on white gives ~14:1 — clears AAA. As a research university with extensive long-form scholarly content and obligations under ADA / Section 504, Stanford's surfaces target the enhanced 7:1 floor rather than the AA 4.5:1 minimum.
contextRestriction roles.colors.link forbiddenContexts error-state, confirmation, destructive-action, data-viz-positive allowedContexts link, navigation The Identity Guide reserves Digital Blue (#006CB8) "exclusively for links" on digital communications. Repurposing it for confirmation, error, or data-viz roles breaks the link-affordance contract Stanford visitors rely on.
contextRestriction roles.colors.success forbiddenContexts error-state, destructive-action, link allowedContexts confirmation, completion, form-validation, data-viz-positive Digital Green (#008566) is documented as the form-validation colour. Using it for errors or as a link colour inverts the semantics the Identity Guide assigns it.
forbiddenTreatment logo treatments stretched, rotated, recolored, drop-shadow, outlined, gradient-fill, on-busy-photo, tilted Stanford's brand standards prohibit stretching, rotating, recolouring, outlining, or applying decorative treatments to the wordmark, block-S, or tree. Marks render in solid Cardinal Red, solid black, or solid white only, with documented clear-space.
fontPairing typography.display requires prose minSizeRatio 1.5 Stanford's editorial hierarchy pairs a large display sans with body sans at a minimum 1.5× ratio. The Identity Guide depends on that gap for the legible scholarly voice the institution projects.
enumMembership typography.heading.fontWeight allowed 400, 600, 700 Stanford's Identity Guide type ramp anchors on Regular (400), SemiBold (600), and Bold (700) for headings and body. Heavier display cuts (800/900) are not part of the published institutional ramp.
accessibilityRequirement * standard WCAG-AAA criterion 1.4.6 WCAG 2.1 Success Criterion 1.4.6 (Contrast Enhanced) — Level AAA. Stanford's research / scholarly posture and its obligations to a diverse academic community justify the enhanced 7:1 target on core text-on-background pairs.
compositionConstraint roles.colors.primary pairsWith white, black-10, black doesNotPairWith digital-red, digital-red-light, cardinal-red-light Cardinal Red reads cleanest on white, soft black-tint surfaces, or against the warm institutional black. Adjacent to Digital Red or the light Cardinal tint, the two reds vibrate without resolving into hierarchy — and the Identity Guide treats their roles as semantically distinct.
Proprietary — All Rights Reserved (Stanford trademarks)2026-05-19