Determines the WCAG compliance level for the contrast between two colors.
The first color.
The second color.
The size of the text ('Normal' or 'Large').
An object containing the compliance level and the contrast ratio.
Determines the WCAG compliance level for the contrast between two colors.