pitch_audit_contrast
Audit a brand-color palette for WCAG contrast: identify passing and failing text-background pairs and get recommendations for changes.
Instructions
Audit the contrast of the palette built from a brand color: which text and background pairs pass WCAG, which fail, and what to change. Returns a contrast matrix, the failures and recommendations.
To check one specific foreground and background pair, use a11y_validate (free, no key). audit_all_combinations checks every pair in the palette, not just the meaningful ones.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"color": "<color>"
},
"name": "pitch_audit_contrast"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| color | Yes | Brand color in hex (e.g. #6366F1). The whole system is built from it. | |
| colors | No | Additional brand colors in hex (up to 5 colors in total, including `color`). | |
| preferences | No | Other design preferences, so tools called separately stay consistent with each other. Pass the same values to every tool. | |
| color_scheme | No | The palette to audit (default analogous) | |
| contrast_algorithm | No | wcag2 (the default) or apca | |
| audit_all_combinations | No | Check every pair in the palette, not just the meaningful ones |