Skip to content
AlroundConverter

Color converter

Convert colors between HEX, RGB, HSL, HSV and CMYK and check contrast.

Runs in your browser – your files are not uploaded

How to use Color converter

  1. 1

    Type a color value or pick one with the color picker.

  2. 2

    Copy the format you need from the results table.

  3. 3

    Check the contrast badges to see if the color is readable on white or black.

About Color converter

Enter a color in any common notation – #2563eb, rgb(37, 99, 235), hsl(221, 83%, 53%), hsv() or cmyk() – or use the color picker. The converter shows the same color in all five formats, each ready to copy.

Below, the contrast ratio of the color on white and on black is calculated according to WCAG 2, with a pass or fail for AA and AAA, normal and large text. That helps you decide quickly whether a brand color works for text or buttons.

Frequently asked questions

Is the CMYK value print-ready?

No. The CMYK value is a simple mathematical conversion without a color profile. For print, convert with your printer's ICC profile in a layout program.

Is transparency supported?

You can enter colors with alpha such as #2563eb80 or rgba(), but the outputs and contrast check ignore the alpha channel.

Which contrast ratio do I need?

WCAG AA requires at least 4.5:1 for normal text and 3:1 for large text (about 24 px, or 19 px bold). AAA requires 7:1 and 4.5:1.