Normal text
Body text below 24px, or below 18.66px when bold.
Test any foreground and background color combination against WCAG AA and AAA guidelines. Preview your text in context, verify UI borders, and fix low-contrast colors in one click.
Accessible by design
Readability starts with contrast.
This preview shows normal-sized body copy alongside larger, heavier text so you can judge the combination beyond a number.
Contrast ratio
16.70:1
Enter a 3 or 6 digit HEX color.
Enter a 3 or 6 digit HEX color.
Threshold requirements for web accessibility standards.
Body text below 24px, or below 18.66px when bold.
Headings & text at least 24px, or 18.66px when bold.
Controls, input borders, icons, and focus indicators.
Enter your text and background 3- or 6-digit HEX codes or use the interactive color pickers to test your current design pairing.
See instant pass or fail badges for regular text (4.5:1 AA / 7:1 AAA), large headings (3:1 AA / 4.5:1 AAA), and UI controls (3:1 AA).
If a pairing fails, click the suggested accessible shade to automatically adjust brightness while keeping your brand hue intact.
Evaluates body copy, large headings, and UI component boundaries against official Web Content Accessibility Guidelines.
Finds the closest passing HEX shade to your original color so you can meet accessibility targets without losing your visual identity.
Inspect real-time body text, headings, and interactive buttons, swap foreground and background in one click, or test popular preset pairings.
According to Web Content Accessibility Guidelines (WCAG) 2.1, normal body text requires a contrast ratio of at least 4.5:1 for Level AA and 7:1 for enhanced Level AAA. Large text requires at least 3:1 for Level AA and 4.5:1 for Level AAA.
Large text is defined as at least 18pt (24 CSS pixels) for regular font weights, or at least 14pt (approximately 18.66 CSS pixels) for bold text. Because larger and heavier text is easier to read, it has lower minimum contrast thresholds than standard body copy.
Under WCAG 2.1 Success Criterion 1.4.11 (Non-text Contrast), user interface components—such as form field borders, button outlines, focus indicators, and active icons—must achieve at least a 3:1 contrast ratio against adjacent colors. WCAG does not define a separate Level AAA threshold for non-text UI components.
When your foreground color falls below the AA (4.5:1) or AAA (7:1) threshold for normal text, the checker finds the closest passing HEX shade against your current background while keeping your hue intact. Click any suggestion card to apply it immediately.
No. Relative luminance contrast is symmetrical between two colors, so swapping text and background always produces the exact same ratio. Using Swap colors lets you preview inverted light and dark badges, buttons, and cards in one click.