Skip to content
Menu

Free tool

Colour Converter & Contrast Checker

Convert any colour between HEX, RGB and HSL, and check whether a foreground/background pairing meets WCAG AA or AAA contrast requirements.

Nothing you enter is ever uploaded or stored. Every bit of processing on this page happens locally, in your browser.

Colour Converter & Contrast Checker

Colour Converter

Contrast Checker

-

AA Normal (4.5:1)-
AA Large (3:1)-
AAA Normal (7:1)-
AAA Large (4.5:1)-
The quick brown fox jumps over the lazy dog.

How to convert a colour

Type a HEX value, such as #6366f1, or use the colour picker, and the RGB and HSL versions appear ready to copy. HEX is what most website and design tools ask for, RGB is common in code and spreadsheets, and HSL is the easiest to adjust by hand because it separates hue, saturation and lightness.

How to check contrast

  1. Enter a foreground colour for your text.
  2. Enter a background colour.
  3. Read the contrast ratio and the pass or fail badges, and look at the sample sentence in the preview.

What the WCAG levels mean

The Web Content Accessibility Guidelines set minimum contrast ratios so text can be read by people with low vision or colour blindness, and by anyone squinting at a phone in bright sunlight.

  • AA, normal text: 4.5:1. This is the level most organisations aim for.
  • AA, large text: 3:1. Large means roughly 24px regular or 19px bold and above.
  • AAA, normal text: 7:1.
  • AAA, large text: 4.5:1.

Pale grey on white, and white on a light brand colour, are the pairings that fail most often. If yours fails, darken the text or the background a little and check again. The preview shows your two colours together, so you can judge readability by eye as well as by the numbers.

Food, drink and the business behind them

A useful tool.
Or a bigger idea?

Preparing a few photos is one job. Bringing a campaign together—or connecting the work behind it—is another. VSL helps independent cafés, restaurants, bakeries and pubs with both.

Explore the marketing examples ↗See systems & automation ↗Discuss your business ↗