High color contrast is critical for individuals who are colorblind or have low vision, and benefits many others ... they also need to meet that 3:1 contrast ratio so they are perceivable by most ...
You can use accessibility checkers to check for issues such as color contrast ratios. If you choose to use color, you should ensure adequate color contrast, at least a 4.5:1 contrast ratio between ...