Enter a text color and a background color — hex, RGB, HSL, or any CSS color, the same conventions as the color converter — or grab them with the screen eyedropper where the browser supports it (elsewhere the swatch opens the native picker). The WCAG 2.x contrast ratio, computed from relative luminance, appears with a pass/fail matrix for AA and AAA at normal and large text sizes, thresholds printed (4.5:1 and 7:1 normal, 3:1 and 4.5:1 large) so you can check the result yourself. A live sample renders your pair at both sizes — a sample only, not a claim about any real page — and for every failing level the nearest passing lighten/darken adjustment of text or background is offered as a copyable value. One click swaps the two colors.
| Data acquired | None. |
|---|---|
| Libraries used | Lit 3 — bundled into the tool file itself. |
| Data stored | None. |
| Data transmitted | None. |