What is Color Converter?
Color Converter is a free online tool that converts colors between HEX, RGB, and HSL formats in real time. It includes a visual color picker, preset swatches, and a WCAG contrast ratio checker.
How to use
- Enter a color using the HEX input, the native color picker, or a preset swatch
- Adjust individual RGB or HSL values using the number inputs
- See all three formats update in real time
- Copy any format value with one click
- Check WCAG contrast ratios against black and white backgrounds
Supported formats
- HEX — 3-digit (#RGB) and 6-digit (#RRGGBB)
- RGB — Red, Green, Blue (0–255)
- HSL — Hue (0–360°), Saturation (0–100%), Lightness (0–100%)
WCAG Contrast Checker
The tool shows the contrast ratio of your selected color against white and black backgrounds, with pass/fail badges for:
- AA Large — 3:1 minimum (large text, 18px+ or 14px+ bold)
- AA — 4.5:1 minimum (normal text)
- AAA — 7:1 minimum (enhanced contrast)
Limitations
- Does not support alpha channels (RGBA, HSLA)
- CMYK and other print color models are not supported
- Contrast checker tests against pure white and pure black only