Colors and Contrast

3 min read

Whether you want to adjust an existing colour scheme to be more accessible or build an accessible colour palette from scratch, here are some tools to help you out.

Improve colour scheme

Most of the time we don't need to create a whole new colour palette from scratch, just tweak the existing colours to make them more accessible.

How to find contrast issues

In almost every browser, the selection tool will show you the colour contrast ratio of text elements.
For Chrome try this:

Select tool in Chrome showing contrast ratio
The select tool in the developer tools panel shows a color contrast issue with a ratio of 2.78

How to fix colour issues


How to build a full color palette:


Got your draft palette? Check out what it looks like for different people.

Firefox Accessibility Inspector has a color vision simulation tool.
Here is what Wordle looks like from different perspectives:

wordle without colorblindness simulation
Default
wordle with protanopia simulation
Protanopia simulation
wordle with deuteranopia simulation
Deuteranopia simulation
wordle with tritanopia simulation
Tritanopia simulation
wordle with achromatopsia simulation
Achromatopsia simulation
wordle with contrast loss simulation
Contrast loss simulation

While color simulators can never replace testing your product with disabled users, they can still be a useful reminder that colour can be experienced in many different ways.