Color Converter
Convert between HEX, RGB, HSL. Pick color and see contrast.

Pick & Input

° % %

Preview & Contrast

FAQ

What is the difference between HEX and RGB?

HEX (e.g., #0D9488) and RGB (e.g., rgb(13, 148, 136)) both represent colors. HEX is a compact hexadecimal notation commonly used in CSS, while RGB uses decimal values for Red, Green, and Blue channels.

What is WCAG contrast ratio?

WCAG (Web Content Accessibility Guidelines) defines contrast ratios to ensure text is readable. A ratio of 4.5:1 is required for normal text (AA level), and 7:1 for enhanced readability (AAA level).

Is my data safe?

Yes. All color conversion is done locally in your browser with pure JavaScript. No data is sent to any server.

Security: All processing runs locally in your browser. No data is sent to any server.