Color Converter – HEX, RGB, HSL, HSV & CMYK

Convert colors between HEX, RGB(A), HSL, HSV/HSB, CMYK and CSS names. WCAG contrast ratios, tints and shades, Android and Swift formats.

Runs 100% in your browser. Nothing you paste is uploaded.

Tints & shades

About the Color Converter

Paste a color in any notation — #4f46e5, rgb(79 70 229), hsl(243, 75%, 59%), cmyk(65,69,0,10) or a CSS name like rebeccapurple — and get every other format, plus WCAG contrast ratios against white and black and a palette of tints and shades.

Features

  • HEX (incl. alpha), RGB(A), HSL, HSV, CMYK
  • All 148 CSS named colors
  • Native color picker
  • WCAG 2 contrast ratio (AA/AAA)
  • Tints & shades palette
  • Android ARGB and Swift UIColor output

How to use it

  1. Type a color or use the picker.
  2. Copy the format you need.
  3. Check contrast before using it for text.

Frequently asked questions

What contrast ratio do I need?

WCAG AA requires 4.5:1 for normal text and 3:1 for large text; AAA requires 7:1.

Esc