Skip to main content
PikSpec

Measured design system

Hugging Face design system

The fonts, colours, type scale, spacing and corner radii of huggingface.co, measured from its home page with PikSpec.

In short: Hugging Face’s website uses Source Sans Pro for headings and body text. Source Sans Pro is free on Google Fonts. Hugging Face’s home page is dark (#0B0F19 background, #99A1AF text) and uses #FFFFFF for its main actions. Its palette: #FFFFFF, #0B0F19, #000000, #6A7282, #86898F, #F9FAFB.

Updated

What font does Hugging Face use?

Hugging Face’s website uses Source Sans Pro for headings and body text. Source Sans Pro is free on Google Fonts.

FontUsed forWeightsFree to use?
Source Sans ProBody400, 600, 700Yes, Google Fonts
IBM Plex MonoCode400, 700Yes, Google Fonts

Hugging Face colour palette

Hugging Face’s home page is dark (#0B0F19 background, #99A1AF text) and uses #FFFFFF for its main actions. Its palette: #FFFFFF, #0B0F19, #000000, #6A7282, #86898F, #F9FAFB.

  • #FFFFFF
    91.1% · backgrounds
  • #0B0F19
    4.1% · backgrounds
  • #000000
    1.1% · text
  • #6A7282
    0.9% · text
  • #86898F
    0.6% · drawings
  • #F9FAFB
    0.5% · backgrounds
  • #99A1AF
    0.5% · text
  • #4A4E57
    0.4% · drawings
  • #E5E7EB
    0.3% · text, lines
  • #F3F4F6
    0.2% · lines

Type scale

Each size the page sets text in, with its weight and line height. Hugging Face’s largest type is 48px at weight 700.

StyleSizeWeightLine heightFont
Display48px70048pxSource Sans Pro
Headline Large30px70036pxSource Sans Pro
Headline Small24px60032pxSource Sans Pro
Title Large20px70025pxSource Sans Pro
Title Small18px40028pxSource Sans Pro
Body Large16px40024pxSource Sans Pro
Body Medium15.04px40022.56pxSource Sans Pro
Body Small14px40017.5pxSource Sans Pro
Label Large13.4px40018.4pxSource Sans Pro

Spacing and shape

Spacing sits on a 4px grid: 4px, 8px, 12px, 16px, 20px, 24px, 28px, 32px, 40px, 44px, 48px, 56px.

Corner radii: 4px, 6px, 8px, 12px, 25px, pill. 4 shadow levels measured.

What makes Hugging Face look like Hugging Face

Almost entirely neutral: 99% of the page is painted in #FFFFFF and #0B0F19.

#973C00 is an accent: under 0.1% of the page, used for text only. Don't fill large areas with it.

#A3004C is an accent: under 0.1% of the page, used for text only. Don't fill large areas with it.

The largest type (48px Source Sans Pro) is bold (700).

Hugging Face DESIGN.md for Claude Code, Cursor and Lovable

A DESIGN.md is the brief an AI coding tool reads before it writes UI. This one carries everything on this page as rules a model follows: the allowed colours and what each is for, the fonts with free stand-ins, the type scale, spacing, corners, and the things Hugging Face’s design never does.

Put it in your project root and ask your tool to follow it: “Read DESIGN.md and build [your product] in this design language.” It describes a style, not Hugging Face’s product, so use your own name, words and images.

Download Hugging Face DESIGN.md · View it as text

As CSS variables

The measured values as CSS custom properties, with free fonts standing in for licensed ones. Use them to learn from or to start a project in a similar style; Hugging Face’s name, logo, words and images are theirs.

@import url("https://fonts.googleapis.com/css2?family=Source+Sans+Pro:wght@400;600;700&display=swap");
@import url("https://fonts.googleapis.com/css2?family=IBM+Plex+Mono:wght@400;700&display=swap");

:root {
  --color-background: #0B0F19; /* Background */
  --color-surface: #000000; /* Surface */
  --color-text: #99A1AF; /* Text */
  --color-text-muted: #4A5565; /* Text muted */
  --color-action: #FFFFFF; /* Action */
  --color-on-action: #000000; /* On action */
  --color-positive: #7CCF00; /* Positive */
  --color-negative: #FB2C36; /* Negative */
  --color-warning: #FD9A00; /* Warning */
  --color-86898f: #86898F; /* 0.6% of the page, as drawings */
  --color-f9fafb: #F9FAFB; /* 0.5% of the page, as fills */
  --color-4a4e57: #4A4E57; /* 0.4% of the page, as drawings */
  --font-body: "Source Sans Pro", sans-serif; /* Source Sans Pro */
  --font-code: "IBM Plex Mono", monospace; /* IBM Plex Mono */
  --type-display: 48px; /* Display, weight 700 */
  --type-display-leading: 48px;
  --type-headline-large: 30px; /* Headline Large, weight 700 */
  --type-headline-large-leading: 36px;
  --type-headline-small: 24px; /* Headline Small, weight 600 */
  --type-headline-small-leading: 32px;
  --type-title-large: 20px; /* Title Large, weight 700 */
  --type-title-large-leading: 25px;
  --type-title-small: 18px; /* Title Small, weight 400 */
  --type-title-small-leading: 28px;
  --type-body-large: 16px; /* Body Large, weight 400 */
  --type-body-large-leading: 24px;
  --type-body-medium: 15.04px; /* Body Medium, weight 400 */
  --type-body-medium-leading: 22.56px;
  --type-body-small: 14px; /* Body Small, weight 400 */
  --type-body-small-leading: 17.5px;
  --type-label-large: 13.4px; /* Label Large, weight 400 */
  --type-label-large-leading: 18.4px;
  --type-label-small: 12px; /* Label Small, weight 600 */
  --type-label-small-leading: 12px;
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 20px;
  --space-6: 24px;
  --space-7: 28px;
  --space-8: 32px;
  --space-10: 40px;
  --space-11: 44px;
  --space-12: 48px;
  --space-14: 56px;
  --space-16: 64px;
  --space-20: 80px;
  --space-24: 96px;
  --space-28: 112px;
  --space-32: 128px;
  --radius-sm: 4px;
  --radius-md: 6px;
  --radius-lg: 8px;
  --radius-xl: 12px;
  --radius-3xl: 25px;
  --radius-full: 9999px;
}

How this was measured

PikSpec’s scanner read the huggingface.co home page in Chrome at 1440px wide on 15 October 2026: the computed styles of its elements, the fonts that rendered and how much of the page each colour covers. Websites change; capture the page yourself with PikSpec for today’s values, any page, and exports in five formats.

Hugging Face is a trademark of its owner. This page is an independent measurement and is not affiliated with or endorsed by Hugging Face.

Similar dark designs: Aesop · Bolt · Descript · DigitalOcean · Discord · Framer

Questions

What font does Hugging Face use?

Hugging Face’s website uses Source Sans Pro for headings and body text. Source Sans Pro is free on Google Fonts.

What are Hugging Face’s brand colors?

Hugging Face’s home page is dark (#0B0F19 background, #99A1AF text) and uses #FFFFFF for its main actions. Its palette: #FFFFFF, #0B0F19, #000000, #6A7282, #86898F, #F9FAFB.

Is there a DESIGN.md for Hugging Face?

Yes: download it from this page (/design-systems/huggingface/DESIGN.md). It is measured from huggingface.co with PikSpec, with licensed fonts replaced by free matches, and works with Claude Code, Cursor, Codex, Lovable and v0.

How can I build a website in Hugging Face’s style?

Use the values on this page as design tokens, swap any licensed font for its free match, and use your own name, words and images. PikSpec’s Build with AI turns a capture like this into a prompt and starter project for Lovable, Claude, v0, Cursor or Claude Code.

Is this Hugging Face’s official design system?

No. It is measured from the rendered huggingface.co home page on 15 October 2026 and is not affiliated with or endorsed by Hugging Face. Names and roles are inferred; the values are what the page displayed.

Contact PikSpec

Email support@pikspec.com for support, privacy requests or content reports.