Free tool

Color Picker

Pick any colour and copy the HEX, RGB, HSL and HSV values instantly. Includes shade ramps and a contrast checker for accessible design.

Developer · Free, no sign-up · Updated 11 November 2026

Colour picker and converter

Formats

Tints and shades

Mixed towards white and towards black. Click any swatch to copy its HEX.

Harmonies

Rotations around the colour wheel from the same hue.

Contrast

Against
Large text Body text at the normal size

21.00:1

AA normal
—
AA large
—
AAA normal
—
AAA large
—

What the Color Picker does

  • Convert between HEX, RGB, HSL and HSV
  • Generate tint and shade ramps from one colour
  • WCAG contrast ratio checker with pass or fail grades
  • One-click copy in the format your code needs

Your data stays on your device

The Color Picker runs entirely in your browser. Nothing you enter is uploaded to a server, which means there is no copy of your input anywhere but your own machine. See how that works.

One colour, every format

Type a colour in whatever form you have it — a HEX code, an rgb() or hsl() value in either the comma or the modern space syntax, or a CSS name like rebeccapurple — and the rest are produced at once. Click any row to copy it. The picker swatch opens your operating system's own colour dialogue if you would rather choose by eye.

CMYK is included because print work asks for it, with one caveat worth knowing: a real CMYK conversion depends on the press, the ink and the paper, and is defined by an ICC profile. The figures here come from the standard arithmetic formula, which is fine for a rough idea and not a substitute for what your printer's profile says.

Tints, shades and harmonies

The two ramps mix your colour towards white and towards black in ten per cent steps, which is the quickest way to get a usable scale out of a single brand colour — hover states, borders, disabled text, background washes. Click a swatch to copy its HEX.

The harmony strips rotate the hue around the colour wheel while holding saturation and lightness: the complement sits opposite, a triad splits the wheel in three, analogous colours sit either side, and a split complement softens the opposite. They are a starting point rather than an answer — a rotation that is arithmetically correct can still look wrong, because perceived brightness varies across hues.

Contrast, and what the ratios mean

The contrast panel compares your colour against a second one and gives the WCAG ratio, from 1:1 for two identical colours up to 21:1 for black on white. AA, the level most organisations are held to, needs 4.5:1 for body text and 3:1 for large text — meaning 18.66px bold or 24px regular and up. AAA needs 7:1 for body text and 4.5:1 for large.

The ratio is not a simple difference in brightness. Each channel is first linearised out of sRGB's gamma curve, then weighted — green counts for about 72% of perceived luminance, red 21% and blue 7%. That is why a saturated blue on black fails while a yellow of the same nominal lightness passes comfortably.

Two things the ratio does not tell you. It says nothing about colour blindness: red and green text of identical luminance pass the check and are still indistinguishable to a good many readers, so never carry meaning in hue alone. And it is a floor, not a target — text that only just clears 4.5:1 is legal and still tiring to read at length.

Which format to use where

HEX is the habit of the web and fine for a fixed value. HSL is the one worth reaching for when you are building a system: because hue, saturation and lightness are separate numbers, you can derive a whole palette by changing one of them, which is impossible to do legibly in HEX.

HSV turns up in design software — Photoshop and Figma pickers are HSV underneath — so it is the format to use when matching what a designer sees on their screen. The CSS variable row is there for the common last step of pasting a value into a custom property.

Color Picker questions

The things people ask most about this tool.

What contrast ratio do I need to pass WCAG?

WCAG AA requires 4.5:1 for normal body text and 3:1 for large text, which means 18.66px bold or 24px regular and above. AAA requires 7:1 for body text and 4.5:1 for large. The checker labels each of the four so you can see at a glance which you meet.

Can I convert a colour that is not in HEX?

Yes. Paste a value in HEX (3, 4, 6 or 8 digits), rgb() or hsl() in either the comma or the space syntax, or any of the 148 CSS colour names, and every other format is produced at the same time.

Why does contrast fail when the two colours look very different?

Because the ratio measures luminance, not hue, and the channels are weighted by how the eye responds: green counts for roughly 72% of perceived brightness, red 21% and blue just 7%. A saturated blue and a black differ obviously to look at and are close in luminance, so the pair fails.

Does passing the contrast check make my colours accessible?

It covers one requirement, not all of them. Contrast says nothing about colour blindness — a red and a green of equal luminance both pass and are still indistinguishable to many readers — so meaning must never be carried by hue alone. Treat 4.5:1 as a floor rather than a goal.

How accurate is the CMYK conversion?

It is the standard arithmetic formula, which is a reasonable approximation and not colour-managed. Real CMYK output depends on the press, ink and paper, described by an ICC profile. Use these numbers for a rough idea and your printer's proof for anything that matters.

Is anything I enter sent anywhere?

No. Every conversion, ramp and contrast calculation runs in your browser. There are no requests and nothing is stored.

See the site-wide FAQ →

ToolsProbe offers fast, private, browser-based online tools for marketers, freelancers and developers. 100% free, no sign-up, no watermarks.