WCAG color contrast calculator

Calculate

Your result

Enter the details and calculate to see your result here.

Calculation basis

Compare two opaque sRGB colors. AA text thresholds are 4.5:1 for normal and 3:1 for large. AAA thresholds are 7:1 and 4.5:1 respectively.