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.
| Font | Used for | Weights | Free to use? |
|---|---|---|---|
| Source Sans Pro | Body | 400, 600, 700 | Yes, Google Fonts |
| IBM Plex Mono | Code | 400, 700 | Yes, 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.
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.
| Style | Size | Weight | Line height | Font |
|---|---|---|---|---|
| Display | 48px | 700 | 48px | Source Sans Pro |
| Headline Large | 30px | 700 | 36px | Source Sans Pro |
| Headline Small | 24px | 600 | 32px | Source Sans Pro |
| Title Large | 20px | 700 | 25px | Source Sans Pro |
| Title Small | 18px | 400 | 28px | Source Sans Pro |
| Body Large | 16px | 400 | 24px | Source Sans Pro |
| Body Medium | 15.04px | 400 | 22.56px | Source Sans Pro |
| Body Small | 14px | 400 | 17.5px | Source Sans Pro |
| Label Large | 13.4px | 400 | 18.4px | Source 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.
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.