---
version: alpha
name: Hugging Face
description: Light design system extracted from huggingface.co (DOM-true values, Emblematic extractor 0.2.0, 2026-11-12).
colors:
  background: "#FFFFFF"
  surface: "#FFFFFFCC"
  on-surface: "#000000"
  on-surface-variant: "#6A7282"
  primary: "#101828"
  outline: "#F3F4F6"
  color-7: "#FFFFFF66"
  color-8: "#0B0F19"
  gray-400: "#99A1AF"
  gray-200: "#E5E7EB"
  color-11: "#0302021A"
  color-12: "#030303CC"
  color-13: "#04030399"
  color-14: "#FFFFFF1A"
  gray-600: "#4A5565"
  color-16: "#040404B3"
  on-primary: "#FFFFFF"
  background-dark: "#0B0F19"
  on-surface-dark: "#FFFFFF"
  on-surface-variant-dark: "#99A1AF"
  surface-dark: "#10182899"
  primary-dark: "#FFFFFF"
  outline-dark: "#141C2E"
typography:
  display-lg:
    fontFamily: Source Sans Pro
    fontSize: 48px
    fontWeight: 700
    lineHeight: 1
  headline-md:
    fontFamily: Source Sans Pro
    fontSize: 30px
    fontWeight: 700
    lineHeight: 1.2
  title-md:
    fontFamily: Source Sans Pro
    fontSize: 20px
    fontWeight: 600
    lineHeight: 1.4
  body-md:
    fontFamily: Source Sans Pro
    fontSize: 16px
    fontWeight: 400
    lineHeight: 1.5
  body-sm:
    fontFamily: Source Sans Pro
    fontSize: 13.4px
    fontWeight: 400
    lineHeight: 1.373
  mono-md:
    fontFamily: IBM Plex Mono
    fontSize: 15.04px
    fontWeight: 400
    lineHeight: 1.596
rounded:
  xs: 4px
  sm: 6px
  md: 8px
  lg: 12px
  xl: 25.5px
  full: 9999px
spacing:
  xxs: 2px
  xs: 4px
  sm: 6px
  md: 8px
  lg: 10px
  xl: 12px
  2xl: 14px
  3xl: 16px
  4xl: 24px
  5xl: 32px
  6xl: 40px
  7xl: 48px
  8xl: 73px
  9xl: 80px
  base: 4px
  container: 1280px
components:
  button-primary:
    backgroundColor: "{colors.primary}"
    textColor: "{colors.background}"
    rounded: "{rounded.full}"
    padding: 4px
    height: 30px
  button-secondary:
    backgroundColor: "#7F22FE"
    textColor: "{colors.on-surface}"
    rounded: "{rounded.md}"
    padding: 0px
    height: 62px
  card:
    backgroundColor: "{colors.surface}"
    rounded: 25.6px
    padding: 24px
---

# Hugging Face

> Extracted from [https://huggingface.co/](https://huggingface.co/) on 2026-11-12 by Emblematic. Every value below was read from the rendered DOM (computed styles, `document.fonts`, and the fonts Chrome actually used to paint text), not estimated from pixels. When the YAML front matter and this prose disagree, the YAML wins. Copy values from this file exactly; don't transcribe them from memory. Don't copy logos, imagery, illustrations or marketing copy.

## Overview

Hugging Face uses a light canvas (#FFFFFF) with a monochrome palette led by #101828. Type is set in **Source Sans Pro** (display + body), **IBM Plex Mono** (mono), with 16px body text. Layout: 1280px container, top-static+transparent navigation, 9 sections. Built with tailwind, cloudfront.

## Colors

Area-weighted from painted backgrounds, text and borders on the 1440px light capture. Roles are inferred from usage (largest background, most text, interactive fills). Every hex is an exact computed value; a role marked *unverified* is a best guess that has not passed review, so its canonical token (e.g. `primary`) is left out of the front matter.

| Token | Hex | OKLCH | Role | Share of paint | CSS variable |
|---|---|---|---|---|---|
| `background` | `#FFFFFF` | 1 0 0 | bg | 71.7% | `--d2h-bg-color` |
| `surface` | `#FFFFFFCC` (on bg `#FFFFFF`) | 1 0 39 | surface | 8.1% | — |
| `on-surface` | `#000000` | 0 0 0 | text | 2.5% | `--color-black` |
| `on-surface-variant` | `#6A7282` | 0.551 0.027 264.4 | muted | 1.9% | `--color-gray-500` |
| `primary` | `#101828` | 0.21 0.034 264.7 | accent | 0.72% | `--color-gray-900` |
| `outline` | `#F3F4F6` | 0.967 0.003 264.5 | border | 0.40% | `--color-gray-100` |
| `color-7` | `#FFFFFF66` (on bg `#FFFFFF`) | 1 0 39 | other | 5.0% | — |
| `color-8` | `#0B0F19` | 0.17 0.022 267.3 | other | 3.5% | — |
| `gray-400` | `#99A1AF` | 0.707 0.022 261.3 | other | 0.79% | `--color-gray-400` |
| `gray-200` | `#E5E7EB` | 0.928 0.006 264.5 | other | 0.53% | `--color-gray-200` |
| `color-11` | `#0302021A` (on bg `#E6E6E6`) | 0.09 0.004 354.4 | other | 1.0% | — |
| `color-12` | `#030303CC` (on bg `#363636`) | 0.099 0.001 273.6 | other | 0.86% | — |
| `color-13` | `#04030399` (on bg `#686868`) | 0.101 0 15.4 | other | 0.90% | — |
| `color-14` | `#FFFFFF1A` (on bg `#FFFFFF`) | 1 0 39 | other | 0.38% | — |
| `gray-600` | `#4A5565` | 0.446 0.03 256.8 | other | 0.34% | `--color-gray-600` |
| `color-16` | `#040404B3` (on bg `#4F4F4F`) | 0.102 0 263.2 | other | 0.31% | — |

Contrast: text on background 21:1, muted text 4.84:1, accent 17.75:1.

Gradients in use: `linear-gradient(oklab(0.656 0.239812 -0.0239026 / 0.1) 0%, rgb(255, 255, 255) 50%, oklab(0.585 0.0288678 -0.231205 / 0.1) 100%)`; `linear-gradient(to right bottom, oklab(0.87 0.0045783 -0.0648386 / 0.8) 0%, oklab(0.936 0.0304823 0.0097381 / 0.6) 50%, oklch(0.985 0.002 24`.

The site responds to `prefers-color-scheme: dark`; the `-dark` tokens hold the dark-mode roles.

## Typography

| Family | Role | Weights | Share of text | Source |
|---|---|---|---|---|
| **Source Sans Pro** | display, body | 400, 600, 700 | 91.8% | webfont |
| **IBM Plex Mono** | mono | 400 | 8.0% | webfont |

Declared in `@font-face` but not used to paint text on this page: KaTeX Main, Charter, KaTeX SansSerif, KaTeX Fraktur, KaTeX Math, KaTeX Size1. Don't treat these as the page's fonts.

Scale (px): 12, 13.5, 14, 15, 16, 18, 20, 24, 30, 48. Effective ratio ≈ 1.246 (close to a major third). Body 16px at line-height 1.5; display 48px with tracking 0em. Headings are sentence case. On a 390px viewport the body is 16px and display 36px.

## Layout

Spacing follows a 4px base unit; the most used steps are 2, 4, 6, 8, 10, 12, 14, 16, 24, 32, 40, 48, 73, 80px. Sections open with about 96px of space before their first line of text. Content sits in a 1280px container on a 4-column grid. Text density 0.071 (text area / page area).

Section order (desktop). Kinds below the review threshold are shown as *section*:

1. **nav** (65px, bg #FFFFFF)
2. **logos** (64px, bg #FFFFFF)
3. **hero** — “The AI community building the future.” (677px, bg #0B0F19)
4. **section** — “Datasets” (640px, bg #FFFFFF)
5. **section** — “The Home of Machine Learning” (1304px, bg #FFFFFF)
6. **section** — “Accelerate your ML” (264px, bg #FFFFFF)
7. **section** — “More than 400,000 organizations are using Hugging Face” (1415px, bg #FFFFFF)
8. **section** — “Our Open Source” (1217px, bg #FFFFFF)
9. **footer** (405px, bg #FFFFFF)

## Elevation & Depth

Style: subtle. Most used shadows:

- `rgba(0, 0, 0, 0.05) 0px 1px 2px 0px`
- `rgba(0, 0, 0, 0.1) 0px 1px 3px 0px, rgba(0, 0, 0, 0.1) 0px 1px 2px -1px`
- `rgba(0, 0, 0, 0.05) 0px 2px 4px 0px inset`

## Shapes

Dominant corner radius 8px; radii in use: 4px, 6px, 8px, 12px, 25.5px, pill. Borders: hairline (1px).

## Components

- **button-primary**: backgroundColor `#101828`, textColor `#FFFFFF`, rounded `9999px`, padding `4px 12px`, height `30px`, fontFamily `Source Sans Pro`, fontSize `16px`, fontWeight `400` (e.g. “Sign Up”)
- **button-secondary**: backgroundColor `#7F22FE`, textColor `#000000`, rounded `8px`, padding `0px 0px`, height `62px`, fontFamily `Source Sans Pro`, fontSize `16px`, fontWeight `400`, shadow `rgba(0, 0, 0, 0) 0px 0px 0px 0px, rgba(0, 0, 0, 0) 0px 0px 0px 0px, rgba(0, 0, 0, 0) 0px 0px 0px 0px, rgba(0, 0, 0, 0) 0`
- **card**: rounded `25.6px`, padding `24px`, backgroundColor `#FFFFFFCC`, border `1px solid #F3F4F6`, shadow `rgba(0, 0, 0, 0) 0px 0px 0px 0px, rgba(0, 0, 0, 0) 0px 0px 0px 0px, rgba(0, 0, 0, 0) 0px 0px 0px 0px, rgba(0, 0, 0, 0) 0`

## Do's and Don'ts

- Do reserve `#101828` for primary actions and highlights; it covers only 0.72% of the painted page.
- Do keep the palette monochrome; there is no chromatic brand accent on the page.
- Do set body copy in Source Sans Pro at 16px / 1.5.
- Don't introduce font weights beyond 400, 600, 700.
- Do keep corners at 8px for most controls, and use the larger radii only for cards and media.
- Do snap spacing to multiples of 4px.
- Don't copy this site's logos, illustrations, photography or copy; use the system, not the brand assets.

## Provenance

Spec v2, extractor 0.2.0. Render quality: **ok**. Vision pass: not run. Fields below confidence 0.7 are hedged or left out above: `layout.columns`, `layout.hero`, `layout.section_count`, `sections[].kind`, `space.section_padding_px`. Full per-field provenance is in `spec.json`.
