easyiec.problems.contrast_ratio# easyiec.problems.contrast_ratio(a, b)[source]# WCAG 2.1 contrast ratio \((L_1+0.05)/(L_2+0.05)\) (1 to 21).