{"slug":"api-webbersites-com-api-a11y-contrast-d65b50","title":"WCAG contrast ratio between two colors — the check the URL-based a11y endpoint c","host":"api.webbersites.com","method":"GET","resource":"https://api.webbersites.com/api/a11y/contrast","category":"other","description":"WCAG contrast ratio between two colors — the check the URL-based a11y endpoint can't do. Give a foreground and background color (hex or rgb()); returns the exact ratio and AA/AAA pass/fail for normal text, large text, and UI components, with a plain-English verdict. ?fg=&bg=","price_listed":0.001,"price_asked":0.001,"state":"answering","state_label":"Answering","checks_7d":1,"answered_7d":1,"latency_ms_median":232,"reported_calls_30d":2,"reported_payers_30d":2,"networks":["eip155:8453"],"badge":"unverified","paid_checks_7d":0,"paid_ok_7d":0,"example_input":{"method":"GET","queryParams":{"bg":"#ffffff","fg":"#767676"},"type":"http"},"output_schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"method":{"enum":["GET"],"type":"string"},"queryParams":{"properties":{"bg":{"description":"Background color — hex or rgb()","type":"string"},"fg":{"description":"Foreground/text color — hex (#111 or #111111) or rgb()","type":"string"}},"required":["fg","bg"],"type":"object"},"type":{"const":"http","type":"string"}},"required":["type","method"],"type":"object"},"output":{"properties":{"example":{"properties":{"contrast_ratio":{"type":"number"},"passes":{"type":"object"},"summary":{"type":"string"}},"type":"object"},"type":{"type":"string"}},"required":["type"],"type":"object"}},"required":["input"],"type":"object"},"history":[{"day":"2026-10-10","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.001,"price_match":true,"latency_ms":232,"error":null}],"description_full":"WCAG contrast ratio between two colors — the check the URL-based a11y endpoint can't do. Give a foreground and background color (hex or rgb()); returns the exact ratio and AA/AAA pass/fail for normal text, large text, and UI components, with a plain-English verdict. ?fg=&bg=","last_updated":"2026-10-09T01:53:45.662Z","schemes":["exact"]}