Compares relative luminance of two colors. Higher is more legible.
ratio = (L1 + 0.05) ÷ (L2 + 0.05)
Pure white on pure black is 21:1, the maximum.
Some inputs are too long to fit in the URL.