What problem does it solve?
Identify and fix color combinations that fail WCAG 2.1 contrast requirements so text and UI elements remain legible and accessible across devices and sizes.
Core Features & Use Cases
- Contrast validation: Calculate relative luminance and contrast ratios for any foreground/background pair and report AA and AAA compliance for normal and large text.
- Accessible suggestions: Recommend the closest compliant color adjustments (darken/lighten) to meet target contrast thresholds.
- Palette and batch checks: Evaluate entire color scales or token sets, output contrast matrices, and highlight problematic pairs for designers and developers.
- Integration scenarios: Use during brand design reviews, front-end styling updates, or automated accessibility audits to ensure buttons, text, and UI components meet contrast rules.
Quick Start
Use the color-contrast skill to check #6b7280 on #ffffff and return the contrast ratio, AA/AAA pass-fail results for normal and large text, and suggested compliant color alternatives.