Tool details
- Processing and privacy
- 🔒 Your files never leave your device – processing happens in your browser.
- Output format:
- JSON
Review your results; support depends on the file and its encoding. How it works and limitations
View HEX colors as RGB and HSL and calculate text/background WCAG contrast ratios.
How to use Color and Contrast Checker
- HEX (3 / 6)
- Set the options above and press the action button.
- Check the result and save it using Download.
Example
Content and tool behavior checked:
| Your text | Result text |
|---|---|
| HEX (3 / 6) | JSON (HEX, RGB, HSL, contrast) |
| #000000 / #FFFFFF | 21:1; AA / AAA |
Related tools
Frequently asked questions
How to use Color and Contrast Checker
Enter separate HEX values for text and background. Inspect the ratio and normal-text AA result; use the action button to save RGB, HSL and detailed contrast results as JSON.
Are my files or typed text uploaded?
Files and text stay in your browser; nothing is uploaded.
Is an AA or AAA result a complete accessibility audit?
3- or 6-digit HEX; no alpha. WCAG 2 contrast for solid sRGB colors. Normal text: AA 4.5:1, AAA 7:1; large text: AA 3:1, AAA 4.5:1. Large text means at least 18 pt or bold 14 pt. This does not audit all website accessibility.