get_a11y_contrast
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= ($0.001 per call, paid via x402)
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| bg | Yes | Background color — hex or rgb() | |
| fg | Yes | Foreground/text color — hex (#111 or #111111) or rgb() |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| passes | No | ||
| summary | No | ||
| contrast_ratio | No |