Free toolNo sign-up, runs in your browser
Colour contrast checker
Check a text and background colour against every WCAG 2.2 contrast threshold, AA and AAA, and see them on real text, a button and an input. When text falls short, it finds the nearest colour that passes.
Contrast ratio
6.56:1
Passes AA for all text.
Normal text · 16px
Your invoices are paid on the first of each month. Change the date or the card in billing at any time.
Large text · 24px
Plans that grow with your team
Button and input border
A hex colour, such as #1f2937 or #abc.
A hex colour, such as #1f2937 or #abc.
#5c5c6b on #ffffff
WCAG 2.2 checks
- PassNormal text, AASC 1.4.3 · needs 4.5:1
- PassLarge text, AASC 1.4.3 · needs 3:1
- FailNormal text, AAASC 1.4.6 · needs 7:1
- PassLarge text, AAASC 1.4.6 · needs 4.5:1
- PassUI components and graphics, AASC 1.4.11 · needs 3:1
The three numbers to know
Normal text, AA
Large text and UI, AA
Normal text, AAA
Fixing a pair that fails
Moving the text colour is usually the smallest fix, so the suggestion mixes your text colour toward black or white, whichever reaches 4.5:1 first, and keeps its hue. Every result lives in the address, so copy the link to share a pair with your team or file it with a bug.
Checking a whole palette? The shadcn/ui theme generator builds light and dark themes from one brand colour with every text pair checked at AA.
GliaKit Studio
Want every page checked before you see it?
GliaKit Studio designs every page of your app from one prompt with WCAG 2.2 AA contrast enforced on text, buttons and charts, and exports clean Next.js code on shadcn/ui. Or start from the free kit.

About contrast
Still unsure? Email dejan@veljanoski.com and the person who built it will reply.
Contrast checked.
Ship it designed.
Start a free Studio trial with no card, and get every page of your app designed at AA.
Or start from an example