Color Converter & WCAG Contrast Checker
Convert HEX, RGB, HSL, CMYK colors and test WCAG 2.1 AA/AAA contrast ratios.
Tool Instructions & Quick Guide
Color Converter & WCAG Contrast CheckerEnter your input in the workspace below, adjust the options, and the result appears instantly. Browser + server.
Recommended Next Steps & Workflows
Tools people often use after Color Converter & WCAG Contrast Checker
About Color Converter & WCAG Contrast Checker
Color Contrast Checker calculates the contrast ratio between a text colour and its background and tells you whether the pair meets the WCAG 2 accessibility levels. It reports the ratio (for example 4.48:1) and a pass or fail for AA and AAA, for normal text and for large text.
Enter two hex colours, text first and background second. The calculation uses the WCAG relative luminance formula, and the text is processed on ProIT's server.
How to use Color Converter & WCAG Contrast Checker
-
1
Enter two colours
Type the text colour and then the background colour as hex codes, for example #111827 #ffffff.
-
2
Run the tool
The result shows both colours as RGB, the contrast ratio and four pass/fail flags.
-
3
Adjust until it passes
Darken the text or lighten the background and check again.
Example
#777777 on white gives 4.48:1. That is just short of the 4.5:1 needed for AA on normal text, but it passes for large text. #000000 on white gives 21:1.
Good to know
Where it runs & limits
| Where it runs | Browser + server |
|---|---|
| Your data | Some steps run in your browser and some on the ProIT server. Anything sent to the server travels over HTTPS and uploaded files are deleted after processing. |
| Limits | No file upload needed; works on the values you enter. |
| Price | Free, no account needed |
Maintained by QUICKGRABBER LLC · Page updated 2026-11-12 How we handle files
Questions about Color Converter & WCAG Contrast Checker
What ratio do I need?
AA needs 4.5:1 for normal text and 3:1 for large text. AAA needs 7:1 and 4.5:1.
Can I enter colour names or rgb() values?
No. Enter hex codes such as #1f2937 or #fff.
Which colour goes first?
Text colour first, background second. The ratio is the same either way, but the labels in the result follow that order.
Guides and tutorials
All guidesAccessible Color Contrast: A Practical WCAG Guide
What contrast ratios WCAG requires, how to check a text and background pair, how to fix a failing colour, and how to build a palette that passes. · 5 min read
How to Convert CSV to JSON (and Back) Without Breaking Your Data
Turn a spreadsheet export into a JSON array and back, keep IDs and leading zeros intact, handle quoted commas, and validate the result before you import it. · 4 min read
YAML, JSON and TOML: Choosing and Converting Config Formats
How YAML, JSON and TOML differ, which fits which job, and what can go wrong when you convert between them, with a pre-conversion checklist. · 5 min read