Color Picker & Converter Pro
Enter or pick a colour and get it in HEX, RGB, HSL and CMYK, along with a tint-and-shade ramp, matching colour schemes, a WCAG contrast check and a colour-blindness preview. Free preview · Pro required to export. Convert colours and check contrast and colour vision free. Pro adds CSS, Tailwind and JSON scale exports.
Free preview · Pro required to export. Convert colours and check contrast and colour vision free. Pro adds CSS, Tailwind and JSON scale exports.
Why use this tool?
- Design files, CSS and print briefs each ask for a different colour notation, and converting by hand is error-prone.
- Text that is hard to read against its background is the most common accessibility fault on a web page, and a contrast ratio shows it objectively.
- A single brand colour has to become a set of lighter and darker variants for hover states, borders and backgrounds.
- A palette that relies on red and green alone can look identical to some viewers, so a preview of how it shifts is worth seeing before you commit.
How to use Color Picker
- Type any colour into Any CSS colour: a hex code, rgb(), hsl() or a name such as tomato. You can also use the Picker swatch, or Pick from screen where your browser offers it.
- Check the Values tab for HEX, RGB, HSL, the space-separated CSS4 form of HSL, CMYK and luminance. Use the copy button on any row.
- On the left, click any swatch in the tints and shades strip to copy its hex code, or choose a Harmony and click a colour in the result.
- Open the Contrast tab, type a second colour in Compare against, and read the ratio and the pass or fail grade.
- Open Colour vision to compare the colour with its simulated appearance in protanopia, deuteranopia and tritanopia.
- Open Export for a CSS custom-properties block, a Tailwind colour object, JSON tokens or a comma-separated scheme.
Features
- Accepts HEX in 3, 4, 6 or 8 digits, rgb() and rgba(), hsl() and hsla(), and a list of common CSS colour names
- Converts to HEX, RGB, HSL, CMYK and relative luminance
- Five tints and five shades from the base colour, copyable in a click
- Complementary, analogous, triadic, tetradic and split-complement harmonies
- Contrast ratio on white, on black and against any colour you enter, with AA and AAA grading
- Colour-blindness simulation for three types
- Export as CSS variables, Tailwind config or JSON
Supported formats
Reads HEX (with or without #), rgb(), rgba(), hsl(), hsla and common colour names. Outputs HEX, RGB, HSL, CMYK and, in the Export tab, CSS, Tailwind and JSON text.
Tips
- Body text needs a ratio of at least 4.5:1 to pass WCAG AA; large text and interface borders need 3:1. The Contrast tab applies those thresholds.
- The picker ignores any alpha value. An eight-digit hex or an rgba colour is read as its opaque colour.
- The CMYK figures are a simple mathematical conversion from RGB with no colour profile, so treat them as a starting point for print rather than a proof.
- Do not use a hue as the only signal if the Colour vision tab says it shifts noticeably; add an icon or a label.
Frequently asked questions
What colour formats can I type in?
HEX with 3, 4, 6 or 8 digits, rgb() or rgba(), hsl() or hsla(), and a set of common colour names such as navy, coral and lavender. Anything else shows a message asking for another format.
How is the contrast ratio worked out?
It uses the WCAG relative-luminance formula. The lighter luminance plus 0.05 is divided by the darker luminance plus 0.05, giving a ratio between 1:1 and 21:1.
What do AA, AAA and AA Large mean?
They are WCAG levels. AAA needs a ratio of at least 7:1, AA needs 4.5:1, and AA Large needs 3:1 and applies only to large text. Below 3:1 is shown as Fail.
What is the Pick from screen button?
It uses the EyeDropper feature built into some browsers to sample a colour from anywhere on your screen. If your browser lacks it, the button does not appear and the other input methods still work.
How accurate is the colour-blindness preview?
It applies a standard matrix for each type to the colour. It is a good indicator of whether two colours collapse together, but individual vision varies and it is not a medical test.
Is the colour I enter sent to a server?
No. Every conversion and calculation happens in your browser.
Can I try this Pro tool without an account?
Yes. Convert colours and check contrast and colour vision free. Pro adds CSS, Tailwind and JSON scale exports. Your own input is processed locally in your browser.
Will upgrading keep my work?
Checkout and login open in a separate tab. Keep the workspace open to retain inputs, settings and previews. Files stay in that tab only; keep the originals in case you close or reload it. Export access is checked with the server after payment.
Your files are processed directly in your browser and are not uploaded to HubToolify's servers.