Enter the pair
Use six-digit opaque HEX foreground and background values.
Check contrast between two opaque HEX colors.
Compare two opaque six-digit HEX colors. Thresholds use the full ratio before display rounding.
17.93:1
Large bold text
Normal text sample at full opacity.
Large text means at least 18 pt regular or 14 pt bold. These color checks do not certify a whole interface's accessibility.
Last reviewed: Β· Testing methodology
Enter foreground and background colors for a ratio and text-size threshold checks.
Use six-digit opaque HEX foreground and background values.
The preview uses those exact opaque colors. Invalid edits remove the current verdict.
Review normal-text, large-text and UI-component thresholds. Decisions use the unrounded ratio.
Black text on a white background gives the maximum ratio.
Inputs are processed in your browser. Analytics and advertising can make separate network requests.
The sRGB luminance formula produces a ratio. Full precision determines each threshold; the visible ratio rounds to two decimals.
Use the final composited opaque colors. Correct invalid HEX before reading results.
Review record: 2026-08-26. See the documented behavior and limitations above, and the testing standards for the scope of review.
Testing methodologyUse browser accessibility tooling and manual testing for gradients, opacity, images, forced-colors mode, and complete interface audits.