Contrast Ratio A contrast ratio checker to easily calculate color contrast ratios and pass Web Content Accessibility Guidelines (WCAG). ? ⇋ Swap colors How to use As you type, the contrast ratio indicated will update. Hover over the circle to get more detailed information. When semi-transparent colors are involved as backgrounds, the contrast ratio will have an error margin, to account for the dif