Skip to main content
Design & colorLocal in browser — nothing is uploaded

Color converter & WCAG contrast checker

Convert colors cleanly between HEX, RGB, and HSL formats and verify foreground-to-background WCAG 2.2 AA/AAA readability ratios.

#111111

Click swatch to adjust

RGB
HSL

WCAG 2.2 contrast ratio checker

Check text readability between your foreground color and any background color.

Calculated contrast ratio

18.09 : 1

AA Normal (4.5+)
Pass
AAA Normal (7.0+)
Pass
AA Large (3.0+)
Pass

Large heading preview (20px Bold)

Body copy sample at 14px regular weight. Readable typography requires strong luminance separation between text (#111111) and surface (#fafafa).

Processing runs inside your browser without accounts or server uploads. Modular TypeScript domain logic tested locally.

Report a problem with this tool

Color formats & WCAG 2.2 contrast math

Synchronized HEX, RGB & HSL: Edit any numeric channel, HEX code, or visual color swatch and copy clean CSS syntax directly.

WCAG luminance thresholds: Computes exact relative luminance contrast ratios against 4.5:1 (AA normal text), 7.0:1 (AAA normal text), and 3.0:1 (AA large headings).

Frequently asked questions

What contrast ratio do I need for body text?
WCAG 2.2 Level AA requires at least 4.5:1 for regular body text and at least 3.0:1 for large headings (18pt / 24px regular or 14pt / ~18.67px bold).