Color Contrast Checker
Calculate the contrast ratio between two sRGB colours and check WCAG AA and AAA thresholds for normal and large text.
Result
How to use Color Contrast Checker
- Choose the actual text and background colours.
- Read the contrast ratio and the applicable threshold.
- Check the page again wherever opacity or a changing background affects the colours.
Worked example
Black text on white has a contrast ratio of 21:1, which exceeds all four text thresholds shown by the tool.
Frequently asked questions
What is the AA threshold for normal text?
A contrast ratio of at least 4.5:1 for normal text and 3:1 for large text.
Does this cover gradients or transparency?
This calculator compares two opaque colours. Check the worst-case visible colours when gradients or opacity are present.
Does a pass prove the page is accessible?
No. It means the pair meets the selected colour contrast threshold.
Related tools
Image Watermark GeneratorPlace a text watermark on a photo. Choose its position, colour and opacity, preview the result and download a new PNG.Photo Collage MakerArrange up to nine photos in a grid, adjust the number of columns and download your collage as a square PNG.Meme GeneratorAdd classic top and bottom captions to your own image. Preview outlined text and download the finished meme as a PNG.