Chapter 04

Hierarchy & scale

Hierarchy is the promise that a reader can skim a page and still understand its structure. It is built from a small, deliberate set of sizes and a handful of contrasts — never from more of everything.

04.1

The modular scale

Pick a base size, pick a ratio, multiply. The result is a limited palette of sizes that relate to one another, which is why a page built on a scale looks composed rather than assembled. Small ratios (1.2) suit dense interfaces; large ones (1.618) suit editorial layouts where the headline should dominate.

67.3pxGrid of sizes
50.5pxGrid of sizes
37.9pxGrid of sizes
28.4pxGrid of sizes
21.3pxGrid of sizes
16.0pxGrid of sizes
12.0pxGrid of sizes
A modular scale multiplies a 16px base by a fixed ratio. Larger ratios give dramatic editorial contrast; smaller ratios suit dense interfaces.

Round the results to sensible values and store them as tokens. A scale you have to recalculate is a scale nobody will follow.

04.2

Five kinds of contrast

Size is only one lever, and the least subtle. Combine two or three of these and you rarely need a large size jump at all.

Size

The blunt instrument. Effective, but expensive in vertical space.

Weight

A jump from 300 to 700 reads as instantly as doubling the size.

Case

Small caps or uppercase with added tracking marks a label without shouting.

Colour & value

Muted grey for secondary text; the accent reserved for one thing per screen.

Style

Italics carry emphasis inside running text without breaking its colour.

Space

Position and white space out-rank every typographic signal above.

04.3

Measure: the forgotten variable

Line length is a legibility control disguised as a layout decision. Below about 45 characters the eye returns too often and rhythm breaks; above 85 it loses track of which line comes next. Fix the measure first, then choose size and leading to serve it.

The measure is the length of a line of text, counted in characters. It is set by the relationship between column width and type size, and it governs how easily the eye finds the start of the next line after each return sweep.

Comfortable range (45–85 characters)

On the web, express it directly: max-width: 65ch. The ch unit is the width of the digit zero, so the constraint follows the font.

04.4

Baseline rhythm

Vertical rhythm means every element's height is a multiple of one leading unit, so baselines across columns align. Choose a unit (say 8px), set body leading to a multiple of it (24px), and make margins multiples too. Perfect rhythm is unattainable once images and inputs enter the page — aim for consistency at the paragraph level, not fanatical alignment.

04.5

How many levels do you need

Most pages need four: page title, section heading, body, and caption or label. A fifth is usually a symptom of unclear content structure. Where you need more distinction, reach for weight, case and space before adding another size to the scale.