Check text and background colours against the WCAG AA and AAA contrast rules. It runs in your browser: the file never leaves your device, and there is no sign-up.
What it does #
Enter colours in HEX, RGB or HSL to see the exact relative-luminance formula and common text-size thresholds. Passing contrast alone does not establish accessibility.
Useful for:
- Check a text-on-background pair against WCAG AA before it ships.
- Test whether your brand palette survives on both light and dark surfaces.
- Show a stakeholder the exact ratio when arguing for a colour change.
How to use it #
- Enter the foreground and background colours in HEX, RGB or HSL.
- Read the computed ratio β the exact relative-luminance formula is shown, not hidden.
- Compare against the thresholds: 4.5:1 AA normal text, 3:1 AA large, 7:1 AAA.
- Adjust either colour and watch the ratio move until it passes.
Know the limits #
- Contrast is only one accessibility requirement and does not replace a WCAG review with real content and states.
- Large-text thresholds depend on rendered size and weight, which this colour-only calculation cannot verify.
Private by design #
The picture you choose is opened by this page in your own browser. It is not uploaded to URSY or to anyone else, and nothing is kept after you close the page. We only count that the tool was used, never what you put in it.
Questions #
What ratio do I actually need?
WCAG AA requires 4.5:1 for normal text and 3:1 for large text (roughly 24px, or 19px bold). AAA raises those to 7:1 and 4.5:1. Aim for AA as the floor, not the ceiling.
My colours pass β is my site accessible?
Contrast is one criterion of many. Focus states, hover states, text over images and non-text elements all need their own checks β passing here is necessary, not sufficient, and the page says so.
Words to know #
Related tools #
- Colour ConverterConvert a colour between HEX, RGB, HSL and approximate CMYK.
- Colour Palette GeneratorMake matching colours, tints and shades from one base colour.
- Background Remover (solid colour)Remove a plain, even background from a product shot or logo.
- Colour Blindness SimulatorSee an image as people with protanopia, deuteranopia or tritanopia see it.
Page facts checked 23 Nov 2026. Sources: W3C WCAG 2.2: contrast (minimum)
Cite this page: Colour Contrast Checker (WCAG). URSY. Updated 24 November 2026. https://ursy.com/webmaster-tools/colour-contrast-checker/ · Section links