Colour and contrast checker

NagaTools

Check whether solid text and background colours have enough contrast.

Choose two colours

Use an English CSS colour name, such as blue or lightgrey, or a hex code such as #000 or #123456. The # is optional. Transparency and gradients are not supported.

Press Check contrast to see a result. Changing either colour clears the previous result.

What the result means

AA is the minimum WCAG text-contrast level. AAA is the stricter level. Normal text needs 4.5:1 for AA and 7:1 for AAA. Large text needs 3:1 for AA and 4.5:1 for AAA.

Large text means at least 18 pt (24 CSS px) in regular weight, or 14 pt (about 18.7 CSS px) in bold. These are size definitions, not a claim about your device's screen.

Colour names for hex codes are rough labels from a small set of common colours. The hex code and calculated ratio are the precise values used here.

Calculations run in this page. No colour-checking API, camera or upload is used.

WCAG minimum contrast guidance

WCAG enhanced contrast guidance

Copyright 2026 NagaTools. All rights reserved.