Token contrast matrix
check_contrast_tokensTake a design token file (CSS custom properties like --color-text: #111;, a JSON object of colors, or W3C design tokens) and test every foreground-like token against every background-like token for 4.5:1 text and 3:1 component contrast, with the nearest passing color, and find colors that merge under color blindness. Free up to about 30 colors; Pro takes 200. Returns a markdown report.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tokens | Yes | The token file contents |