Skip to content
Rotina Diária

Color Converter

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

    Shades (click to use)

    WCAG contrast between two colors

    Large sample text

    Sample body text: The quick brown fox jumps over the lazy dog.

    Processed on your device. Nothing you type is sent anywhere.

    How to use: Color Converter

    1. Enter a color in any format (#4f46e5, rgb(79, 70, 229), hsl(243, 75%, 59%)) or use the picker.
    2. Copy the format you need or choose a lighter or darker shade.
    3. In the contrast section, enter the text and background colors to see if they meet WCAG criteria.

    About this tool

    HEX, RGB, HSL, and HSV describe the same screen color in different ways. CMYK is used for printing; this conversion is mathematical (without an ICC color profile), so check with your printer for professional print materials.

    Contrast follows the WCAG 2.x relative luminance formula: Level AA requires 4.5:1 for normal text and 3:1 for large text (24 px or larger, or 18.66 px bold); Level AAA requires 7:1 and 4.5:1.

    Frequently asked questions

    What minimum color contrast should I use on websites?

    To meet WCAG Level AA (required by many accessibility laws), normal text needs a contrast ratio of at least 4.5:1, and large text needs at least 3:1.

    Why does printed color look different from the color on screen?

    Screens emit light (RGB), while printers use pigments (CMYK), which reproduce a smaller range of colors. Highly saturated blues and greens often look duller on paper.

    Is it really free? Is there a daily limit?

    It's free with no daily limits. Processing happens on your device, so there's no per-use cost and no need to limit you.

    Does it work on phones?

    Yes. The site works in any modern browser on Android, iPhone, Windows, Mac, and Linux—no installation needed.