BAS HUGE SALE + FREE SHIPPING
🔒 No upload — converts in your browser

Color Converter

Convert colours between HEX, RGB, HSL, HSV and CMYK, with a WCAG contrast check. It runs entirely in your browser — no signup, no installation, and nothing you paste or drop leaves your device.

Preview with the recommended text colour
Sample text
HEX#FF0000
RGBrgb(255, 0, 0)
HSLhsl(0, 100%, 50%)
HSVhsv(0, 100%, 100%)
CMYKcmyk(0%, 100%, 100%, 0%)
Relative luminance (WCAG)0.2126
Contrast vs #0000005.25:1 — AA pass, AAA fail
Contrast vs #FFFFFF4.00:1 — AA fail, AAA fail
Recommended text colour#000000
CMYK uses the common conversion k = 1 - max(r, g, b) and c = (1 - r - k) / (1 - k), rounded to whole percent. That is a colour model conversion, not a colour-managed print profile, and it cannot be perfectly reversed for every colour. Contrast ratios follow WCAG 2.1: AA needs 4.5:1 and AAA needs 7:1 for normal text. Named CSS colours such as tomato are not accepted.

Colour Conversion With a Contrast Check

This converter keeps five colour notations in sync. Enter a value in any of the fields — HEX, RGB, HSL, HSV or CMYK — and the other four are recalculated at once, together with a preview. CMYK is computed with the usual formula: k is one minus the largest channel, and c, m and y are derived from it in whole percent. Below the preview the tool reports the WCAG 2.1 relative luminance, the contrast ratio against black and against white, and whether that ratio passes AA (4.5:1) and AAA (7:1) for normal text. The sample text in the preview uses the recommended colour, so you can see at a glance whether black or white type is the better choice on that background. The tool converts notation and reports measured ratios; it does not manage print colour profiles and does not accept CSS colour names such as tomato.

More free tools

What is Color Converter?

Color Converter is a free online file converter built for anyone converting images, audio, video, units or colours. Convert colours between HEX, RGB, HSL, HSV and CMYK, with a WCAG contrast check In practice you enter a HEX, RGB, HSL, HSV or CMYK value, convert to the format you need, and then check the WCAG contrast result before you use the colour.

Files are processed in the browser with Canvas and WebAssembly, so photos, IDs and client material are never uploaded to a server.

How to use Color Converter

  1. Enter a HEX, RGB, HSL, HSV or CMYK value.
  2. Convert to the format you need.
  3. Check the WCAG contrast result before you use the colour.

Color Converter FAQ

Is Color Converter free to use?

Yes. Color Converter is completely free and needs no account, no trial and no payment details. Every feature on the page is available without limits.

Is my data uploaded anywhere?

No. Color Converter runs entirely in your browser, so the text, file or number you enter never leaves your device.

Does Color Converter work on a phone or tablet?

Yes. It works in any modern browser on desktop, tablet and phone. There is no app to install and no account to create.

How do I use Color Converter?

Enter a HEX, RGB, HSL, HSV or CMYK value. Convert to the format you need. Check the WCAG contrast result before you use the colour.

Related tools