TypographyMay 2026 Β· 6 min read

How to Create Typographic Hierarchy in Web Design

Use size, weight, color, and spacing to guide readers through your content. A systematic approach to headings, body text, and captions.

πŸ“Š
Try the Type Scale Calculator
Free, no signup
β†’
DG
Derek Giordano
Designer & Developer
In this guide
01What Typographic Hierarchy Means02The Four Tools of Hierarchy03Building a Type System04Common Hierarchy Mistakes
⚑ Key Takeaways
  • Use size, weight, color, and spacing to guide readers through your content.
  • What Typographic Hierarchy Means.
  • The Four Tools of Hierarchy.
  • Building a Type System.
  • Common Hierarchy Mistakes.

What Typographic Hierarchy Means

Typographic hierarchy is how you visually communicate relative importance of text elements. When it works, readers scan a page in seconds and understand its structure β€” what’s a title, section heading, body text, caption. When it fails, everything looks equally important and readers either give up or read linearly, missing structure. Good hierarchy is invisible β€” readers follow it naturally. Bad hierarchy forces conscious effort to parse the page.

The Four Tools of Hierarchy

Four tools create hierarchy, in order of impact: size (most powerful), weight (bold vs regular), color/opacity (reduced for secondary text), and spacing (margins signal structural boundaries). Use all four together. Your H1 should differ from body in size, weight, and spacing. Your H2 should differ from H1 in at least two ways. Captions should differ from body in size and opacity. The more differentiators between elements, the clearer the hierarchy.

Building a Type System

Build a type system using a modular scale. The Type Scale Calculator helps choose a ratio (1.2, 1.25, 1.333, or 1.5) and generates sizes for body through H1. Define each level with four properties: font-size, font-weight, line-height, and margin. Store as CSS custom properties. A complete system typically has 6–8 levels: display (hero), H1, H2, H3, body, small, caption, and overline.

Common Hierarchy Mistakes

Common mistakes: too many levels (more than 6–8 means your content structure needs simplifying), not enough contrast between levels (H2 only 2px larger than body isn’t clear), relying on color alone (hierarchy must work in grayscale), inconsistent spacing (random margins destroy rhythm), and decorative fonts for body text. Test by squinting at the page β€” the structural outline should be visible even when you can’t read the words.

Frequently Asked Questions

What type scale ratio should I use?+
1.2 (Minor Third) for dashboards. 1.25 (Major Third) for general websites. 1.333 (Perfect Fourth) for editorial content. Larger ratios create more dramatic hierarchy.
How many heading levels should I use?+
Most content only needs H1, H2, and H3. H4 is occasionally useful for deep technical docs. If you use H5 or H6, your content structure is probably too complex.
Should heading hierarchy match visual hierarchy?+
Yes. H1 should be visually largest. If design requires different visual order, use CSS to adjust while keeping HTML hierarchy correct for accessibility.
Try it yourself

Use the Type Scale Calculator β€” free, no signup required.

⚑ Open Type Scale Calculator
DG
Derek Giordano
Written by the creator of Ultimate Design Tools. BA in Business Marketing.