Description
Calculates whether two colors have enough contrast for accessible text and interface elements. It helps developers and designers check WCAG 2.0 contrast rules in Python tools, tests, or content pipelines.
Use it as a library, not as a separate app. The result is a numeric accessibility check, so combine it with visual review and current accessibility guidance before approving a final design.