Contrast Color Finder

Choose black or white text for a solid HEX background. Compare both contrast ratios and copy the stronger text color.

← Image & Design Tools

Choose whether black or white gives the stronger contrast against a background color.

AccessibilityColorBrowser processing

Sample text

How to choose black or white text

Pick a background color or paste a 3- or 6-digit HEX value. The tool updates automatically, shows both contrast ratios and recommends the stronger of pure black and pure white. Copy Result copies the recommended HEX value.

How the choice is made

The tool compares the contrast ratio of the background against black and white, then selects whichever ratio is higher.

Accessibility note

Choosing the stronger of black or white is useful, but specific text sizes and interface requirements can still need a full contrast check.

When to use the full checker

This finder answers a narrow question: black text or white text on one solid background. It does not search a brand palette or suggest a different hue. To evaluate a specific foreground and background pair, use the Color Contrast Checker.

Only opaque sRGB colors are supported. Transparency, gradients, images and state changes need testing against the actual rendered background. The larger preview is not proof that your smaller body text meets its required threshold.

Related tools