Why contrast ratio isn't just a matter of taste
Two colors can look "readable enough" to one person and genuinely illegible to someone with low vision or color vision deficiency. The ratio formula replaces subjective judgment with a number that accounts for how differently human eyes perceive luminance across the color spectrum, giving designers and reviewers a shared, testable target instead of an opinion.
Common ways to fix a failing pair
The most reliable fix is darkening the darker color or lightening the lighter one until the ratio clears the threshold, since hue changes alone often don't move the number much. It also helps to check both the text-on-background and any inverted or hover-state combinations, since a passing default state can still hide a failing interactive state.
Frequently Asked Questions
Does font size actually change the requirement?
Yes. Larger and bolder text is inherently easier to distinguish from its background, so WCAG sets a lower bar (3:1 instead of 4.5:1) for text that qualifies as "large" under the standard's size and weight thresholds.
Is a higher contrast ratio always better?
For accessibility compliance, meeting or exceeding the required threshold is what matters, and AAA is a genuinely stricter, optional target. That said, extremely high contrast (like pure black on pure white) can cause eye strain for some readers over long reading sessions, so many designers treat AA as a solid, comfortable baseline rather than always chasing the maximum possible ratio.