webPopular Client-Side Only

Color Converter & WCAG Contrast Checker

Convert between HEX, RGB, HSL, and CMYK color models with real-time WCAG accessibility contrast ratios.

RGB

rgb(241, 90, 36)

HSL

hsl(16°, 88%, 54%)

CMYK

0%, 63%, 85%, 5%

WCAG Contrast

6.23:1 (vs Black)

3.37:1 (vs White)

Quick Reference & Instructions

Simple steps, pro tips, and execution details

1

Paste or Enter Input

Paste your raw JSON, code snippet, tokens, or values into the input panel.

2

Select Options & Modes

Choose formatting options, indentation spaces, or target conversion standards.

3

Copy or Download Output

One-click copy to clipboard or download the formatted file ready for production.

How It Works

Parses color strings into mathematical components and computes relative luminance against black and white.

Frequently Asked Questions

Common questions about calculations, assumptions, and edge cases.

It measures the luminance difference between your text and background color — WCAG AA requires at least 4.5:1 for normal text and 3:1 for large text to be considered accessible.