1. Home
  2. Generators & Encoders
  3. Color Converter

Color Converter

Convert a colour between hex, RGB and HSL, and measure the WCAG contrast against a second colour.

Runs in your browser Free, no sign-up

Contrast

The ratio uses the WCAG relative luminance formula. 4.5 to 1 is the usual minimum for body text, and 3 to 1 for large text. Hex may be written with or without the hash, and a three-digit form is expanded.