Color Converter & WCAG Contrast Studio
Convert HEX, RGB, HSL and CMYK live, test WCAG 2.1 AA/AAA text contrast, generate 50–900 CSS scales and explore color harmonies in your browser.
Enter a valid color like #6742C1, rgb(103, 66, 193) or hsl(257, 50%, 51%).
- HEX
#6742C1 - RGB
rgb(103, 66, 193) - HSL
hsl(257, 50%, 51%) - CMYK
cmyk(47%, 66%, 0%, 24%) - CSS RGB
103 66 193
WCAG 2.1 Accessibility Contrast Checker
Accessible Interface Preview
Verify how body text, headings and interactive buttons look on your selected surface before shipping.
Primary Action50–900 Shade Scale (click any swatch to copy HEX)
Color Harmonies (click to copy)
All color math, WCAG relative luminance checks and CSS palette exports run 100% locally in your browser.
QUICK FACTS · TOOLAI /APPS
Color Converter & WCAG Contrast Studio
Convert HEX, RGB, HSL and CMYK live, test WCAG 2.1 AA/AAA text contrast, generate 50–900 CSS scales and explore color harmonies in your browser.
- Pricing
- Free, no sign-up
- Execution
- Files stay on your device
- Verified
- 2026-11-27
FAQ
What is the difference between HEX, RGB, HSL and CMYK?
HEX and RGB define screen colors using red, green and blue light intensities. HSL represents hue, saturation and lightness, making it much easier to create lighter tints or darker shades, while CMYK estimates cyan, magenta, yellow and key ink percentages for print.
What contrast ratios are required for WCAG 2.1 AA and AAA?
WCAG 2.1 Level AA requires at least 4.5:1 for normal body text and 3.0:1 for large text (18pt+ or 14pt+ bold) and UI components. Level AAA raises the bar to 7.0:1 for normal text and 4.5:1 for large text.
How can I use the 50–900 shade scale in CSS or Tailwind?
Click Copy CSS :root variables to export all ten steps (--color-50 through --color-900) directly into your stylesheet or design token configuration, or click any individual swatch to copy its HEX code.