Color Converter & Contrast Checker
Developer Tools / Color Converter & Contrast Checker
Guide
How to use the Color Converter & Contrast Checker
- 1
Pick or type a colour.
- 2
Copy HEX, RGB or HSL.
- 3
Check contrast against your background.
Expert tip
What you should know
About 1 in 12 men has some colour-vision deficiency. Sufficient contrast, and never relying on colour alone to convey meaning, makes designs readable for everyone.
FAQ
Frequently asked questions
What contrast do I need?+
WCAG AA requires 4.5:1 for normal text and 3:1 for large text; AAA requires 7:1.
You might also like
More Developer Tools tools →Regex Generator & Explainer
Describe the pattern in words; get a tested regular expression.
SQL Query Generator
Plain-English questions to correct SQL for your schema.
JSON Formatter & Validator
Pretty-print, minify and validate JSON in your browser.
Code Explainer
Paste code; get a plain-English walkthrough of what it does.
Code Debugger
Paste the error and the code; get the cause and a fix.
Cron Expression Generator
Describe a schedule; get the cron expression and next run times.
Base64 Encode / Decode
Encode text to Base64 or decode it back, UTF-8 safe.
URL Encode / Decode
Percent-encode text for URLs, or decode it back.