Check WCAG 2.1 AA & AAA color contrast.

17.06:1
Super
contrast ratio
Text color
Background color
Preview

The quick brown fox jumps over the lazy dog.

Good contrast ensures every user can comfortably read your interface — regardless of viewing conditions or visual ability.

AAAAA
Small text≥ 4.5 : 1 / ≥ 7 : 1
PassPass
Large text≥ 3 : 1 / ≥ 4.5 : 1
PassPass
UI components≥ 3 : 1
Pass
Tip of the Day

Body text needs 4.5:1

WCAG AA requires 4.5:1 for normal text. Aim for 7:1 (AAA) on continuous reading surfaces.