WCAG Contrast Checker
WCAG contrast ratios for text and UI, with the nearest colour that passes.
Large heading text
Body text at 16 pixels. The grid harvests your syntax errors so that you do not have to. Please read this paragraph to check that it is comfortable.
Small print at 14 pixels, the place readability goes to retire.
Button outline
Contrast ratio
6.27
: 1
AA textPass
AA largePass
AAA textFail
AAA largePass
UI and iconsPass
Try next
Other tools on this site. Free, in the browser, no account.
- Design
Code to Image
Turn code into a beautiful image: themes, fonts, highlighted lines and sharp PNG export.
- Developer tools
Colour Picker and Contrast Checker
Convert hex, RGB and HSL, check WCAG contrast and build a shade scale.
About Syntax Labs, the studio that publishes this site.