Contrast ratio calculator
Contrast ratio tool
A tool that allows you to easily check the contrast ratio for two selected colors. Properly selected contrast ratio allows you to get a better impression for the UX and facilitates accessibility. This is one of the main metrics that Google Lighthouse evaluates.
Which contrast ratio is good?
In a recent W3C study, there are 2 main levels of accessibility AA and AAA. We suggest using the contrast ratio at a minimum of 7: 1, it will facilitate accessibility for people who have vision problems.
Terms of use
This tool, and any other tool on this site, is free to use. There are no fees. Thus, we do not guarantee the correct operation, availability and we do not guarantee the correctness of the data generated by these tools. Before using any of the data generated on this page, check its correctness and quality. We usually do not store your data, but sometimes it may happen that your data is saved in a temporary memory.
License
The software is provided "as is", without warranty of any kind, express or implied, including but not limited to the warranties of merchantability, fitness for a particular purpose and non infringement. In no event shall the authors or copyright holders be liable for any claim, damages or other liability, whether in an action of contract, tort or otherwise, arising from, out of or in connection with the software or the use or other dealings in the software.