WCAG Color Contrast & Accessibility Checker
Verify WCAG 2.1 AA and AAA accessibility compliance, simulate color blindness vision, and auto-fix color pairs for accessible web design. 100% private in-browser tool.
Meets highest Level AAA criteria
The quick brown fox jumps over the lazy dog. Sample body text rendering.
Color Vision Deficiency (Color Blindness) Simulations
WCAG 2.1 Contrast Standards & Font Thresholds
| Element Type | Size Threshold | Level AA Minimum | Level AAA Enhanced |
|---|---|---|---|
| Normal Body Text | < 18pt (24px) regular | 4.5:1 ratio | 7.0:1 ratio |
| Large Headings | ≥ 18pt (24px) or bold ≥ 14pt (18.66px) | 3.0:1 ratio | 4.5:1 ratio |
| UI Components | Inputs, radio buttons & icons | 3.0:1 ratio | N/A (3.0:1 sufficient) |
Common Web UI Color Pairs & Accessibility Grades
| Combination | Foreground | Background | Contrast Ratio | Rating |
|---|---|---|---|---|
| Black on White | #000000 | #FFFFFF | 21.00:1 | AAA Perfect |
| Slate 900 on White | #0F172A | #FFFFFF | 16.32:1 | AAA Pass |
| Indigo 600 on White | #4F46E5 | #FFFFFF | 5.91:1 | AA Pass |
| Gray 400 on White | #9CA3AF | #FFFFFF | 2.41:1 | FAIL (Low Contrast) |
How to Test and Fix Color Contrast Online
- Pick Colors: Choose your foreground text color and background canvas color using hex codes or the color picker.
- Inspect WCAG Compliance: Check the contrast score against AA (4.5:1) and AAA (7:1) guidelines.
- Simulate Vision Deficiencies: Review protanopia, deuteranopia, and tritanopia cards to confirm your UI remains readable for all users.
- Auto-Fix Contrast: If contrast fails, click "Auto-Fix to AA" to adjust the shade until it meets accessibility standards.
Frequently Asked Questions
100% In-Browser Privacy
All relative luminance calculations and color blindness simulation matrices execute locally on your device without any tracking or server uploads.
Complementary Tools
Other fast, free, and zero-upload utilities built for your workflow.
JSON Formatter & Schema Diff
Format, repair, diff, and inspect JSON in real time. Convert to TypeScript, Go structs, YAML, CSV tables, and JSON Schema.
Interactive Regex Tester & Explainer
Test regular expressions with real-time match highlighting, cheat sheet presets, and plain-English pattern explanations.
Unix Timestamp & Epoch Converter
Convert Unix timestamps to human-readable UTC/local dates and dates to epoch seconds or milliseconds. Live clock, millisecond precision, and batch conversion.
Cron Expression Generator & Explainer
Generate, validate, and translate crontab expressions into plain English. Interactive visual builder, next execution schedule preview, and presets.