HEX to RGB Converter (and RGB to HEX)
Paste one or more color codes in HEX, RGB or HSL: get every notation you need for CSS and print, plus the contrast of white and black text on that color.
Converted colors
Contrast: WCAG ratio of white text, then black text, on the color (AA ≥ 4.5, AAA ≥ 7).
How to Use This Tool
Paste your color codes, one per line, or pick a color with the picker.
Click "Convert colors": each color is translated to HEX, RGB, HSL and CMYK.
Check the WCAG contrast of white and black text on each color, then copy or export the table.
Frequently Asked Questions
Switch between color notations
Still have questions?
Contact our team for helpRelated Tools You Might Like
Keep optimizing your website with these complementary tools
Want us to fix this for you?
We build fast, search-optimized websites for businesses in Morocco, and we fix the issues tools like this one uncover.
Fast reply on WhatsApp. Free quote, no commitment.
See our workA Brand Guide to Apply to Your Website?
We design websites true to your visual identity, accessible and fast
50+ successful projects • 48h delivery • No long-term contracts
-
Websites
-
AI Chatbots
-
CRM
-
Booking
-
Payments
-
Web apps
-
Dashboards
-
SEO