Give each color a role

A small palette is easier to use consistently when each color has a job: primary text, secondary text, borders, surfaces, and emphasis. Start with these roles before choosing many decorative shades. A subtle visual system can still provide clear distinctions.

Do not assume a pale gray is readable just because it looks elegant on your monitor. Check text against its actual background, including colored cards and muted sections. Contrast depends on the combination, not the color in isolation.

Make information survive without color

If an error is indicated only by red, some readers may miss the meaning. Add an explanatory message and connect it with the relevant control. If a link appears inside a paragraph, make its interactive role distinguishable beyond a barely different shade.

Try viewing a page in grayscale or describing it without naming colors. Can you still identify the selected section, an important warning, and the next action? This is not a complete accessibility test, but it can expose an overdependence on color.

Review interaction states

Default, hover, focus, disabled, and selected states may use different foreground and background combinations. Review them individually. A visible keyboard focus indicator is particularly important when a design uses minimal borders.

Use established contrast-checking methods against the applicable accessibility criteria, then inspect the result in context. A numeric pass does not solve tiny text, unclear wording, or a crowded layout. Accessibility works best when several design decisions support each other.

Further reading

Original sources and related references. These links lead to independent websites; inclusion does not imply a partnership or endorsement.

Browse the complete resource shelf →