Bad color contrast happens when text or interface elements are too close in brightness to their background, so people struggle to read or distinguish them. Below are nine typical examples, each with its ratio, the reason it fails WCAG AA, and a corrected pair. WCAG is the Web Content Accessibility Guidelines, the international standard for accessible websites. All ratios are rounded and should be confirmed with a color contrast checker before you ship.
What counts as bad contrast?
Under WCAG level AA (the usual target for websites), normal text needs a contrast ratio of at least 4.5:1 against its background. Large text needs 3:1. Large means 18pt and above, or 14pt and above if bold. In pixels, that is about 24 px, or about 18.5 px bold. Meaningful interface elements such as input borders, icons and chart segments also need 3:1. Anything below those thresholds is low contrast, even if it looks elegant on your own bright screen.
The ratio compares the relative luminance (perceived brightness) of two colors. It runs from 1:1 (identical) to 21:1 (black on white). Brightness matters more than hue. That is why a red and a green of similar brightness fail. People with low vision or color blindness are affected first.
Some color combinations technically pass the ratio but are still difficult to read. Treat the numbers as a minimum, and avoid any pairing that looks faint to you or your visitors.

The nine most common bad contrast examples
1. Light gray text on white
Symptom: captions, dates and body copy look faint. Cause: designers use gray to make secondary text feel quieter. Example: #AAAAAA on #FFFFFF gives about 2.3:1, far under 4.5:1. Fix: #595959 on white gives about 7:1. #767676 is roughly the lightest gray that still reaches 4.5:1.
2. White text on bright orange or green
Symptom: a vivid button label seems to vibrate. Cause: bright brand colors are light in luminance, so white text on them is weak. White on #FF8A00 is about 2.2:1. Fix: darken the background to #B35400 (about 4.9:1 with white). Or keep the orange and switch to dark text such as #1A1A1A, which gives well above 4.5:1.
3. Text over a photo
Symptom: a headline is readable on one part of the image and lost on another. Cause: the background brightness changes under the text, so no single ratio applies. Fix: add a solid or gradient overlay behind the text, for example black at 50 to 60 percent opacity. Then check the ratio against the lightest area of the image under the words. Large headlines only need 3:1, while body text needs 4.5:1. Where possible, set text on a solid background instead.
4. Placeholder text in form fields
Symptom: hints like “Enter your email” are almost invisible. Cause: browsers default to a pale gray, and designers lighten it further. Placeholder text is still text, so it needs 4.5:1. Example: #B0B0B0 on white is about 2.1:1. Fix: use #6B6B6B (about 5.3:1). Keep a visible label above the field, because placeholders disappear when typing.
5. Low-contrast buttons and input borders
Symptom: ghost buttons (buttons drawn only with a thin outline) and pale field outlines vanish into the page. Cause: thin light borders look clean but carry the only cue that the element exists. WCAG asks for 3:1 for UI component boundaries. Example: a #D9D9D9 border on white is about 1.4:1. Fix: #767676 reaches about 4.5:1.
6. Links that rely on color alone
Symptom: inline links blend into the paragraph. Cause: a link color close to the body text and no underline. WCAG success criterion 1.4.1 says color must not be the only way to convey information. Links need an underline or another cue. Fix: keep the underline. If you remove it, pair body text #333333 with links #0B5CAD and add a hover and focus style.
7. Error messages in light red
Symptom: validation text is missed. Cause: a bright red such as #FF5A5A on white is only about 3:1, which fails for small text. Fix: #C62828 gives about 5.6:1 on white. Also add an icon and a written message, because color must never be the only signal of an error.
8. Chart colors that touch each other
Symptom: adjacent bars or pie slices merge. Cause: colors look distinct in isolation but fail 3:1 when they touch, because they share similar brightness. Fix: keep 3:1 between neighboring segments. Add white separators, direct labels or patterns, and avoid red and green as the only difference.
9. Disabled and dark-mode states
Symptom: inactive buttons and dark gray text on black look unreadable. Disabled controls are exempt from WCAG contrast rules. Even so, make sure an active button never looks disabled, and explain unavailable actions in text. Fix: keep disabled labels readable and state the reason in words. In dark mode, #777777 on #121212 is about 4.2:1, so lift it to #9E9E9E (about 6.9:1).

Quick comparison of the fixes
| Case | Before (approx.) | After (approx.) |
|---|---|---|
| Gray text | #AAAAAA / white, 2.3:1 | #595959 / white, 7:1 |
| White on orange | 2.2:1 | #B35400, 4.9:1 |
| Placeholder | #B0B0B0, 2.1:1 | #6B6B6B, 5.3:1 |
| Field border | #D9D9D9, 1.4:1 | #767676, 4.5:1 |
| Error red | #FF5A5A, 3:1 | #C62828, 5.6:1 |
How to test contrast before you publish
Paste your foreground and background hex codes (the six-digit codes that describe each color) into a free color contrast checker such as the WebAIM Contrast Checker. It also has an eyedropper and helps you find a similar color that passes. You can also use the contrast panel in your browser developer tools.
Test every state: hover, focus, visited, error and dark mode. Then view the page on a phone outdoors or at low screen brightness, since real lighting exposes weak pairs quickly.

People also ask about contrast
What are considered high contrast colors?
High contrast colors differ strongly in brightness, such as black on white (21:1), white on navy or yellow on black. The goal is a large luminance gap, not opposite hues.
How do I change my contrast back to normal?
On Windows, press left Alt + left Shift + Print Screen to toggle high contrast mode, or turn it off in the Accessibility settings under Contrast themes. On Mac, open the Accessibility display settings and disable Increase contrast. On phones, look in the display accessibility settings.
Can you give me an example of contrast in graphic design?
A bold dark headline over a pale background, paired with a bright accent button, is a classic case. The headline wins through value contrast, and the button stands out through color and saturation.
What are the 7 color contrasts?
The seven contrasts usually attributed to Johannes Itten are:
- Hue
- Light and dark (value)
- Cold and warm
- Complementary
- Simultaneous
- Saturation
- Extension (proportion)
Only light and dark contrast is what WCAG ratios measure directly.

Conclusion
Start with your most used pair, usually body text on its background, and run it through a checker today. Fix the worst failures first, then work down the list above. Purlize helps you build accessible color palettes at getpurlize.com.
FAQ
Is WCAG AAA stricter than AA?
Yes. AAA asks for 7:1 for normal text and 4.5:1 for large text. Most sites target AA, but using AAA for long reading content is a good habit.
Does a logo need to meet contrast ratios?
WCAG exempts logos and brand names from the text contrast requirement. Still, a legible logo helps everyone, so check it when it is used as navigation.
Which two colors should not be used together?
Avoid pairs with similar brightness, such as red and green, blue and yellow, or yellow and white. Color blindness makes these even harder to separate.
Can I rely on my design tool preview?
Not fully. Opacity, overlays, gradients and images change the final color, so test the rendered result in the browser rather than the original swatch.