Color contrast is the luminance difference between text (or meaningful UI icons) and the background behind them. If the ratio is too low, people with low vision, older displays, glare, or color-vision differences struggle to read your interface — and automated accessibility checks will fail.
This guide explains WCAG 2.x Level AA and AAA contrast targets, the familiar 4.5:1 and 7:1 thresholds, how large text relaxes the bar, and how to use a live preview plus suggested fixes. Test pairs with the free color contrast checker — hex or RGB input, ratio readout, and AA/AAA status.
You will leave with a practical workflow: pick colors, check the pair, adjust lightness, recheck, then lock design tokens.