What is a good contrast ratio?
WCAG 2.1 Level AA requires a minimum contrast ratio of 4.5:1 for normal text and 3:1 for large text. Level AAA requires 7:1 for normal text and 4.5:1 for large text. A higher ratio means better readability for all users, including those with low vision or color blindness.