Color contrast checker

 

Questions

What ratio do I need?

WCAG AA asks for 4.5:1 for normal text and 3:1 for large text (24px, or 19px bold). AAA asks for 7:1 and 4.5:1.

What color formats work?

Hex like #333 or #1a73e8, and rgb(26, 115, 232).

Can I share a result?

Yes. The colors are saved in the page link, so copy the address bar.