Home / Tools / Web and CSS
Color Contrast Checker
Check text and background colors against WCAG AA and AAA.
Runs in your browserFree, no sign-up
Loading tool…
How to use it
- Pick or type the two colors.
- Read the ratio and pass/fail results.
- Use the suggested fix if needed.
About this tool
Enter a text color and a background color to get the contrast ratio and a pass or fail for normal text, large text and UI parts under WCAG 2.2. If it fails, it suggests the nearest color that passes.
Your input is processed on your device. Nothing is sent to a server or stored.
Questions
What ratio do I need?
4.5:1 for normal text and 3:1 for large text and icons to pass AA. AAA needs 7:1 for normal text.
Web and CSS
All web and cssMore tools like this
Web and CSSUnix Timestamp ConverterConvert Unix timestamps to dates and dates to timestamps.Open →Web and CSSColor ConverterHEX, RGB and HSL conversion with a contrast checker.Open →Web and CSSMarkdown PreviewWrite Markdown and see the result, then copy the HTML.Opens filesOpen →Web and CSSCSS Minifier & BeautifierMinify CSS for production or beautify it to read.Opens filesOpen →Web and CSSCSS Gradient GeneratorDesign linear, radial and conic gradients and copy the CSS.Open →Web and CSSCSS Box Shadow GeneratorBuild layered box shadows visually and copy the CSS.Open →Web and CSSMeta Tag GeneratorSEO, Open Graph and Twitter meta tags with a live preview.Open →Web and CSSRobots.txt GeneratorCreate a robots.txt with rules, AI-bot blocking and sitemap.Open →