Measure contrast right on the page as it looks.
Just drag over any area you want to check.
It analyzes the pixels actually displayed on screen and automatically detects foreground and background colors. Areas that are hard to judge with traditional HTML/CSS-based tools, such as images, gradients, and transparent or overlapping elements, can be checked in a state closer to what users actually see.
In addition to WCAG 2.1 and 2.2 contrast checks, it also supports APCA.