Check how two opaque sRGB colors work together. See AA and AAA text thresholds, preview the pair, and export a focused color-contrast report.
This tool needs JavaScript. Enable it in a current browser to process input locally. The instructions and limitations below remain available.
Example: #123 or #123456. Alpha/transparency is not supported.
Undo restores the previous import, example, reset, or swap. For typing, use your editor’s normal undo command.
Check WCAG contrast without rounding away a failure
A step-by-step guide with worked examples and important limits.
The displayed number is rounded to two decimals. A true value slightly below 4.5 still fails the 4.5 threshold; decisions always use the unrounded ratio.
Not directly. First calculate or sample the actual composited opaque colors for the relevant background, then assess every required state.
It compares the pair to the 3:1 threshold. Whether that criterion applies to a particular component or graphic depends on its purpose and adjacent colors.
These standalone pages do not send your input to a server or save it in browser storage. Files and undo values remain in memory while the page is open. Copy and download happen only when you choose them.