Text Contrast Check
Calculate a text and background color pair's contrast ratio and compare it with WCAG 2.2 text thresholds.
Input
Inputs are processed on this device.
Result
Run the check to see a result here.
Sample text
How to use the result
Enter opaque hex colors. AA requires 4.5:1 for normal text and 3:1 for large text. The calculation uses the unrounded ratio for each result.
Format and method reference