Color Contrast Checker

Check the contrast ratio of text and background colours against WCAG accessibility levels.

πŸ”’ Runs in your browser⚑ Instant resultsπŸ†“ Free, no sign-up

How to use Color Contrast Checker

  1. Pick a colour with the colour box, or type a code such as #4f46e5, rgb(79, 70, 229) or a name like tomato.
  2. The results update instantly.
  3. Click Copy or any colour swatch to copy its code.

What is it good for?

Check the contrast ratio of text and background colours against WCAG accessibility levels.

Designers and developers move between colour formats constantly, and getting a conversion even slightly wrong can make a brand colour look off. People most often reach for it when converting design-tool values into CSS, checking that text is readable on a background and building a palette for a website or presentation.

See it in action

For example, the colour #1F2937 comes out like this:

ResultHEX: #1F2937 RGB: rgb(31, 41, 55) HSL: hsl(215, 28%, 17%) HSV: hsv(215, 44%, 22%) CMYK: cmyk(44%, 25%, 0%, 78%) Nearest name: charcoal
Good to know. Normal text needs at least 4.5:1 to pass AA. Large text needs 3:1.

Using it day to day

If something does not look right, reload the page and try again with a simple example. That tells you quickly whether the issue is the input or the setup.

Everything runs in your browser, so the tool keeps working even on a slow connection once the page has loaded.

Privacy

Colours are calculated in your browser. Nothing leaves your device.

Read the guide

Want the background? Colour Contrast: Making Text Readable for Everyone explains it in plain language. Want the background? How to Choose Colours for a Website That Look Good and Read Well explains it in plain language.

Frequently asked questions

Is Color Contrast Checker free to use?

Yes, completely free. There is no sign-up, no watermark and no limit on how many times you use it.

Is my data safe when I use Color Contrast Checker?

Colours are calculated in your browser. Nothing is uploaded.

Does Color Contrast Checker work on my phone?

Yes. The layout adapts to small screens, and the tool works in current versions of Chrome, Edge, Firefox and Safari.

Any tips for using Color Contrast Checker?

Normal text needs at least 4.5:1 to pass AA. Large text needs 3:1.