Developer tool

Color Converter & Contrast Checker

Convert a hex color to RGB and HSL and check WCAG text contrast against white and black.

Free browser tool

No Matrix computer needed

✓ No account or card

✓ Use the result right away

✓ Task-specific limits below

Workspace

Use color converter & contrast checker

7 / 100,000

Result

Your result will appear here. The input stays in this browser tab.

How to use it

Paste a three- or six-digit hex color to get CSS values and AA/AAA contrast results for white and black text.

Try this example

#434e3f

What to check

Contrast results cover text against white or black only. Alpha channels and wide-gamut colors are not supported.

Review the result before using it in a published page, application, or agent configuration.

Quick answers

Frequently asked questions

Which color values can the converter read?

Enter a three- or six-digit hexadecimal color. Matrix reports the matching RGB and HSL values plus contrast against white and black.

Do the contrast results guarantee accessible text?

The ratios test the chosen color against white and black using WCAG thresholds. Actual readability also depends on font size, weight, and the real background.

Keep exploring

Related free tools

Need this work to keep going?

Matrix gives agents a private cloud computer for files, connected tools, and work that continues after you close your laptop. The browser tool above is free; a Matrix computer requires a paid plan.

Explore Matrix