PickShade
Enter any colour and see it written in hex, RGB, HSL, CMYK and OKLCH, with its name, colour family and nearest Tailwind class. It also tells you whether black or white text reads better on it, which helps when choosing UI colours.
The pre-filled example is #ff5733, an orange-red that the service names Scarlet.
What it's useful for
- Convert a hex colour to RGB, HSL or OKLCH for CSS.
- Find the nearest Tailwind class for a colour from a design file.
- Decide whether to put black or white text on a coloured button.
- Get a CMYK value as a starting point for print work.
Frequently asked questions
What colour formats can I enter?
The service accepts hex, rgb(), hsl(), oklch(), CSS colour names like navy, and Tailwind classes like sky-500. A value it cannot read returns an error message listing these.
Why does the name say it is not exact?
The name is the nearest named colour. The response marks whether it is an exact match, and for the example ff5733 it is not, so treat the name as a guide.
How is the better text colour chosen?
The response gives the contrast ratio of white and black text against your colour and names the higher one. For ff5733 white scores 3.15 and black 6.66, so black is better.
Is the CMYK value print-ready?
No. It is a mathematical conversion from screen colour. Print results depend on the inks, paper and profile, so proof it with your printer.
Where does the data come from?
From the PickShade API, a free colour tool. We pass your request through our server and show the reply.
About this data
- Data comes from a free third-party service (pickshade.com). We pass your request through our server so your browser never contacts it directly.
- Service limit: ~10 requests/sec per IP. If it's reached, this page tells you how long to wait.
- Terms: No key or sign-up; CORS enabled; free.
- The service can change or go offline without notice, and we can't vouch for the accuracy of what it returns.
- Official documentation