Colour Contrast Checker
Enter foreground and background colours to see contrast ratios and AA/AAA results for normal and large text.
Get started
Color Contrast Checker — steps and download
Enter text and background HEX colors. Review the contrast ratio and thresholds for normal and large text, then download a summary of your color decision.
The colour contrast checker calculates the contrast ratio between a text colour and a background colour using the WCAG 2.x method. Enter both colours as HEX codes; the default pair is dark grey text on white.
The result is a ratio between 1:1 and 21:1 and whether it passes AA and AAA for normal and large text. A summary of the decision can be downloaded. Interface designers run the check while building a palette, developers while coding button and link colours, and brand teams when verifying that corporate colours stay readable on screen.
Ratio and thresholds
The relative luminance of each colour is calculated and the lighter one is divided by the darker one. Normal text needs 4.5:1 for AA and 7:1 for AAA; large text needs 3:1 for AA and 4.5:1 for AAA. Only the colour pair you enter is assessed. Font weight, real screen conditions, text over images or gradients, keyboard access and other accessibility requirements have to be reviewed separately.
Contrast ratio = (lighter luminance + 0.05) ÷ (darker luminance + 0.05)When to use it.
- 01While building a paletteDecide early which text shade is allowed on which surface in a new colour system and record it as a rule.
- 02Button and link coloursSee whether white text on a brand-coloured button clears the AA threshold before it ships.
- 03Muted helper textCheck that light grey placeholders, footnotes and disabled states are still readable against their background colour.
300+ brands, entrusted us with their growth.











- Turkish Voice of
Common mistakes when reading the result.
- Overusing the large-text ruleA 3:1 ratio is enough only for large or bold large text, while body copy requires 4.5:1.
- Measuring text on imagesCopy over a photo or gradient cannot be represented by one background colour, so test the lightest and darkest areas.
- Equating contrast with accessibilityA passing ratio is not a full audit, since focus indicators, alt text and keyboard use are separate matters.
Related services and guides.
- UI/UX design serviceDescribes how contrast rules are built into a design system with colour tokens and component states.
- UX audit serviceShows an audit that treats readability problems together with forms, navigation and content findings.
- UX audit and usability testingExplains what tests with real users reveal beyond an automated colour check.
- Corporate identity designCovers how brand colours are chosen to remain readable on screen and in print.
Frequently asked questions
Anything else? Write to us.
Which text thresholds are used?
Normal text uses 4.5:1 for AA and 7:1 for AAA; large text uses 3:1 and 4.5:1. The definition of large text is shown separately.
Is the contrast result a full accessibility audit?
No. It calculates the WCAG contrast ratio for a color pair. Font size, actual rendering, keyboard use and other accessibility requirements need separate review.
Are my files and input data uploaded?
Tool processing runs on your device; file and form contents are not sent to a server for processing. Loading the website still creates standard web requests. Using a contact link is a separate action.
Do I need an account or API key?
No account or API key is required for the tool. Use is free within the file, operation and device limits stated on the page.
Related tools the same work, continued.
Images and videoApp Icon GeneratorCreate 10 PNG app icons from 48 to 1024 pixels from one image. Set the background and safe area, then download the ZIP.
Images and videoOpen Graph Image GeneratorCreate a 1200×630 PNG share card with a title, brand name, colours and an optional image; copy example Open Graph tags.
Images and videoSocial Media Image ResizerChoose an image, crop it to a square, portrait or landscape ratio and set the pixel size. The crop preview helps you keep the focus.
Images and videoProduct Image ResizerBring product photos to one size; choose between cropping and adding space, and download a consistent set for your store.
Images and videoColour Palette from ImageExtract 2–12 dominant colours from an image. Download the HEX and RGB values as a text file, CSS variables and a palette image.
Design and project planningCSS Gradient GeneratorCreate a linear CSS gradient from two colours and an angle. Check the live preview, then copy or download the CSS.The tool shows the way, let’s do the implementation together.
Share your site and goal; we send a written, fixed-scope roadmap within 24 hours.

Kazanan









