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.
- 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?
How many heading levels should I use?
Should heading hierarchy match visual hierarchy?
Use the Type Scale Calculator β free, no signup required.
β‘ Open Type Scale Calculator