Check WCAG 2.1 contrast ratios for accessibility compliance
| Level | Text Size | Min Ratio | Description |
|---|---|---|---|
| AA | Normal text | 4.5:1 | Minimum for body text and UI components |
| AA | Large text (18pt+ or 14pt bold) | 3:1 | Minimum for headings and large text |
| AAA | Normal text | 7:1 | Enhanced contrast for maximum readability |
| AAA | Large text (18pt+ or 14pt bold) | 4.5:1 | Enhanced contrast for large text |