Color Contrast Examples Gallery

A gallery of measured text and background examples for buttons, cards, alerts, and dense UI surfaces.

What to look for

The same hue can pass or fail depending on lightness and background. Use measured examples to train review habits, then verify the exact color pair in the contrast checker.

Examples

Readable card text

Card text remains readable on a white surface.

Text: #111827 Background: #FFFFFF Contrast: 17.74:1 AA

Weak muted text

This muted text is too light for important body copy.

Text: #9CA3AF Background: #FFFFFF Contrast: 2.54:1 Below AA

Readable info alert

Info message with strong text on a light tint.

Text: #1E3A8A Background: #DBEAFE Contrast: 8.49:1 AA

Weak badge

Decorative badge text can become difficult to read.

Text: #60A5FA Background: #EFF6FF Contrast: 2.34:1 Below AA

FAQ

How should I use this contrast example reference? v

Use it as a starting point, then test the exact foreground, background, and UI state colors in the context where they will appear.

Are the HEX values ready to copy? v

Yes. The listed values are formatted for CSS, design files, and token documentation.

Should I still check contrast? v

Yes. Any color used for text, icons, controls, or status messages should be checked against its actual background.

Related Color Tools

Open the next tool for this color task.