Check text contrast

Check whether your text color has enough contrast against its background.

Aa#rgb

How to use it

Choose the text color and its background to check their contrast ratio.

Example

Black text on a white background has a contrast ratio of 21 to 1.

Common questions

What contrast should I aim for with ordinary body text?

Aim for at least 4.5 to 1 for normal-size text under WCAG AA. Test the actual text and background colors together.

Where does the work happen?

Your browser does the work on your device. The site serves the tool. You choose what to copy, download or share.