# Colorblind-Safe Contrast Checker > Pay-per-call API (x402, USDC) that checks colour pairs against WCAG contrast levels and tests whether they still work for people with red-green or blue-yellow colour blindness. (USDC on Base (mainnet)) > STATUS: live. Operator: Ordstirr (https://ordstirr.com) ## What it does - Returns the WCAG 2.x contrast ratio for each foreground/background pair and whether it passes AA/AAA for normal text, large text and UI parts. - Re-checks every pair as seen with protanopia, deuteranopia, tritanopia and achromatopsia and reports the lowest ratio. - Takes a palette of up to 12 colours and lists pairs that are hard to tell apart under any of those conditions. - Plain arithmetic, no AI model, nothing stored except a hash for the payment log. ## What it does NOT do - It is not a certified accessibility audit; simulations approximate real colour vision. - It checks colours you send, not images, screenshots or web pages. - Colours must be hex (#RGB or #RRGGBB); no alpha or named colours. Up to 20 pairs and 12 palette colours per call. ## Endpoints - POST https://contrast.ordstirr.com/v1/check-contrast ($0.01) Check colour pairs for WCAG contrast and colour-blind safety, and a palette for colours that are hard to tell apart Example body: {"pairs":[{"foreground":"#777777","background":"#FFFFFF","label":"grey body text"}],"palette":["#D55E00","#009E73","#0072B2"]} ## Terms - Informational only, as is, no warranty. Terms of service: https://ordstirr.com/agents/terms - Refund contact: li8ertyapps@gmail.com - Every paid response includes terms_url and a one-line notice field. ## How to call - No account, no API key. Unpaid requests return HTTP 402 with x402 terms in the PAYMENT-REQUIRED header. Pay with an x402 client (e.g. @x402/fetch) and retry. - Invalid input is rejected with HTTP 400 before any charge. ## Free endpoints - GET https://contrast.ordstirr.com/health - GET https://contrast.ordstirr.com/openapi.json - GET https://contrast.ordstirr.com/docs - GET https://contrast.ordstirr.com/.well-known/x402