What the checker measures
Pick a foreground and background color, or paste 3- or 6-digit hex values such as #1e293b or fff, and the checker computes the WCAG 2.x contrast ratio between them. The ratio compares relative luminance — perceived brightness, not hue — so it runs from 1:1 for identical colors to 21:1 for black on white, and it is floored to two decimals, so a pair at 4.499:1 is never shown as a passing "4.50:1".
You get four verdicts at once: AA for normal text (4.5:1), AAA for normal text (7:1), AA for large text (3:1) and AAA for large text (4.5:1). A live preview renders large, normal and small sample text in your two colors, so you can judge the pair as text before you commit to it.