Calculate the contrast ratio between two hex colors and check whether it meets WCAG AA and AAA accessibility standards for text.
Formula
Contrast Ratio = (L1 + 0.05) / (L2 + 0.05), per WCAG relative luminance