Test color combinations for WCAG 2.1 accessibility compliance. Check AA and AAA contrast ratios for normal and large text instantly.
The Web Content Accessibility Guidelines (WCAG) 2.1 define minimum contrast ratios to ensure text is readable by people with visual impairments. The contrast ratio ranges from 1:1 (no contrast, e.g., white on white) to 21:1 (maximum contrast, black on white).
Large text is 18pt (24px) or larger regular weight, or 14pt (18.66px) bold. Most legal requirements ask for AA compliance at minimum. The formula uses relative luminance as defined in the WCAG 2.1 guidelines.
For related tools: Color Picker and CSS Gradient Generator.