Sub topic 3
Contrast: the mechanism behind emphasis
This chapter assumes you know basic design vocabulary (color, value, typeface) and can read simple CSS. You do not need to write CSS to follow the ideas.
Emphasis is a difference
A viewer notices an element when it differs from what surrounds it. Contrast is that difference. Without a difference, nothing stands out, however large or colorful the element is. A bright red button on a page full of red elements is just one more red element.
This is why contrast is the mechanism behind emphasis. Size, color, value, type, and pattern breaks are all ways of producing contrast. The next chapters cover each one. Here you learn the shared rule they follow.
The working model
Contrast always has two parts:
- A background of sameness. Most elements in the composition share a set of traits, such as small size, muted color, or regular weight.
- A deliberate departure. One element differs from that group along one or more properties.
The strength of the emphasis depends on how large the departure is and how uniform the background is. A quiet, consistent page makes a small difference visible. A busy page needs a much larger one.
Properties you can vary
Each visual property can carry contrast. The table lists the main ones and what a departure looks like.
| Property | Baseline | Departure |
|---|---|---|
| Size | Small and medium items | One very large item |
| Value | Mid-gray tones | One near-white or near-black item |
| Color | Muted, low-saturation hues | One saturated hue |
| Weight | Regular text | One bold line |
| Shape | Rectangles | One circle |
| Position | Aligned in a grid | One item set apart |
A worked example
The card below shows contrast in code. The heading, body text, and button each take a different role.
.card { max-width: 24rem; padding: 1.5rem; }
.card h2 { font-size: 2rem; font-weight: 700; color: #111; margin: 0 0 0.5rem; }
.card p { font-size: 1rem; font-weight: 400; color: #555; margin: 0 0 1.5rem; }
.card .cta { font-size: 1.125rem; font-weight: 600; color: #fff; background: #d62828; padding: 0.75rem 1.5rem; border: 0; border-radius: 0.25rem; }The heading leads through size and weight. It is twice the body size and bold, and its color is near black. The body text recedes because it is lighter in both color and weight. The button is the only saturated red on the card, so it becomes the focal point by contrast.
Notice that the button is not the largest element. The heading is larger. The button wins because it is the only element with a saturated hue, and hue is the property that differs most there. Contrast on one property can outweigh scale on another.
Common errors
- Too many departures. If the heading, an icon, a badge, and the button all differ strongly, none of them stands out. Each one weakens the others.
- Contrast that is too timid. A heading at 1.1 times the body size reads as an accident, not a choice. Differences need to be clearly larger than the noise in the layout.
- Low contrast where legibility matters. Emphasis through color must not break readability. Light gray text on white is quiet, but it can become unreadable.
- Relying on hue alone. A red button and a green button look the same to some color-blind viewers if their values match. Pair hue contrast with a value difference.
Check your understanding
Exercise
A page has five equally sized, bold, blue links. You make one of them 20 percent larger and still find it does not stand out. What is the most likely cause, and what would you try?
Show answer
The baseline is busy, because all five links are already bold and saturated, so a 20 percent size change is too small a departure. Make the difference larger or change a property the others share. For example, reduce the other links to regular weight and a muted color, then keep the chosen link bold and saturated.
Exercise
In the card example, the heading is larger than the button, yet the button is the focal point. Why?
Show answer
The button is the only element with a saturated hue, so it differs most from its surroundings on color. Contrast on one property can outweigh scale on another.