WCAG Contrast Ratio Checker

Your Text
Contrast Ratio = N/A
WCAG Standard Small Text Paragraphs
User Interface Elements
Visual Elements
AA N/A N/A
AAA N/A N/A

The optimal contrast score is 21, which occurs with white text on a black background.
To meet WCAG Standards, a minimum contrast ratio of 4.5 is required for small text and 3 for large text.

To calculate the contrast ratio between two colors, we use the following formula:

Contrast Ratio = (L1 + 0.05) / (L2 + 0.05)