Color picker and converter

Pick a colour or type it in any format, and every other format updates at once. Check the contrast of readable text, explore tints and harmonies, and keep the colours you like in a palette.

#fd6b25

Contrast checker

The quick brown fox jumps over the lazy dog.

The quick brown fox jumps over the lazy dog.

Contrast ratio2.87 : 1

  • AA, normal text Fail
  • AA, large text Fail
  • AAA, normal text Fail
  • AAA, large text Fail

Tints and shades

Harmonies

Click a swatch to use that colour.

Saved palette

Save colours here to build a palette. It stays in this browser.

Runs in your browser. Nothing you enter is sent anywhere. Your settings stay on this device for next time.

How to use it

  1. Pick a colour with the picker or the screen eyedropper, or type a value in any field: HEX, RGB, HSL, HWB, CMYK or OKLCH.
  2. Copy the format you need, and check how your colour reads as text on a background.
  3. Click a tint, shade or harmony to use it, and save the colours you like to your palette, which stays in this browser.

About this tool

All the formats describe the same sRGB colour. HEX, RGB, HSL and HWB are the classic CSS forms; OKLCH is the newer CSS space, where equal steps in lightness also look equal to the eye.

CMYK here uses the simple screen formula. Print shops convert with a colour profile for their press and paper, so treat these values as a starting point, not a proof.

The contrast checker uses the WCAG 2 formula: 4.5 to 1 for normal text and 3 to 1 for large text meet level AA; 7 to 1 and 4.5 to 1 meet AAA.

Questions and answers

How do I convert HEX to RGB?

Type or paste the HEX code, such as #fd6b25, into the HEX field. The RGB field shows the same colour at once, here rgb(253, 107, 37), ready to copy.

What contrast ratio do I need?

For body text, at least 4.5 to 1 (WCAG AA). Large text, about 24 px or 19 px bold and up, needs 3 to 1. For the stricter AAA level, 7 to 1 and 4.5 to 1.

Can I pick a colour from my screen?

Yes, in browsers with the EyeDropper feature, such as Chrome and Edge on a computer. Press Pick from screen and click anywhere. Other browsers offer the normal colour picker.

Where is my palette saved?

In this browser only. Nothing is uploaded, and the palette is still there when you come back. Copy it as CSS variables to use it in a project.

All tools