Color contrast is a key part in designing ADA-compliant web experiences.
The rules for color contrast come from WCAG 2.1 (Web Content Accessibility Guidelines) which define how to make web content more accessible to people with disabilities.
WCAG 2.1 lists the following for color contrast guidelines:
The visual presentation of text and images of text has a contrast ratio of at least 4.5:1, except for the following:
Posted by: Jesse Cooke
Posted on: Oct. 01, 2020
Source: jessecookedesign.com
#2a2c31
#868d9b
#ff6c40
Posted by: Lochie Axon
Posted on: Sept. 22, 2020
Source: liquify.lochieaxon.com
#19191F
#7A8299
#ffffff