Contrast Checker

Check WCAG contrast ratio between foreground and background colors.

Foreground
Background
Large text 24px+
Normal text sample paragraph.
Small text sample.
Contrast Ratio
3.68 : 1
WCAG Rating
AA Normal: Fail
AA Large: Pass
AAA Normal: Fail
AAA Large: Fail
Private & SecureRuns in your browser — nothing is uploaded
Easy to UseJust paste or type — instant results
Free ForeverUnlimited use, no sign-up
Fast & ReliableAdvanced tech, fast and stable

Readable text needs enough contrast between the words and their background, and accessibility rules put exact numbers on it. Enter a foreground and background colour to get the contrast ratio and whether it passes WCAG AA and AAA, for normal and large text.

Aa12.6:1AA / AAA pass
Pair → WCAG ratio

How to use: Contrast Checker

  1. 1Enter inputSet the foreground (text) color by picking it or entering a HEX value.
  2. 2Set optionsThen set the background color.
  3. 3ProcessRead the calculated contrast ratio and the sample text preview.
  4. 4Get resultCheck the AA / AAA badges to see whether it passes accessibility standards.

Common use cases

Check text legibilitySee if your text colour stands out enough from its background.
Pass an auditConfirm a pair meets WCAG AA or AAA before a review.
Pick a safe pairingAdjust one colour until the ratio clears the threshold.
Test a button or linkCheck that interactive text is readable, not just body copy.

Good to know

The thresholds, in shortWCAG asks for 4.5:1 for normal text and 3:1 for large text at AA; AAA wants 7:1 and 4.5:1. Large means roughly eighteen point, or fourteen point bold.
Contrast is not the whole of accessibilityPassing the ratio helps, but readable type size, clear focus states and not relying on colour alone all matter too.
Large text gets a lower barBigger or bold text is easier to read, so it passes at a lower ratio. Make sure your text really is large before you rely on that.
Test the real coloursCheck the actual foreground and background as they render, including any opacity, not the nominal swatches.

Frequently Asked Questions