Member-only story
WCAG Color Contrast: Ratios, Examples and How to Check AI Designs
What the 4.5:1 and 3:1 rules actually say, which colors pass or fail, and a short routine for checking AI generated designs before you ship them. Read in November 2026.
Nishkarsh Gupta
5 min read1 hour ago
Press enter or click to view image in full size Thumbnail. AI image.
Not a medium member? Read here for free
AI tools make a pretty screen in seconds. They also love pale grey text on a white card. I wanted to know exactly where the accessibility line sits, so I read the W3C pages and worked out some real examples.
A note on how I checked. I read the W3C Understanding pages for Success Criterion 1.4.3 Contrast (Minimum) and Success Criterion 1.4.11 Non-text Contrast. I computed the example ratios myself with the formula on those pages.…