Fix guides · Accessibility
How to fix low color contrast on your website
Text that's too light against its background is hard to read for many visitors, and fails WCAG. What the 4.5:1 rule means and how to fix it on Shopify, WordPress, Webflow, Wix, Squarespace and Next.js.
- Time to fix
- 15–30 minutes
- Skill needed
- No code
- Who notices
- Visitors with low vision, and anyone reading in bright light
Why it matters
Pale gray text on white, or white text on a light brand color, is hard to read for people with low vision, anyone on a phone in sunlight, and older visitors. That's a large share of any audience.
Accessibility laws in many countries (and the WCAG standard they point to) require normal text to have a contrast ratio of at least 4.5:1 with its background, and large text at least 3:1.
“Low contrast text, below the WCAG 2 AA thresholds, was found on 83.9% of home pages, an increase from 79.1% in 2025.”
Before you start
- Large text means at least 24px, or at least 18.66px when bold. Everything smaller needs 4.5:1.
- Your report shows the exact element that failed. Usually one color is reused across the site, so fixing it in your theme's color settings fixes every place it appears.
- Darken the text or lighten the background, whichever changes your design less. Keep your brand color for buttons and accents, and use a darker shade of it for text.
Fix it on your platform
Shopify
- Go to Online Store → Themes → Customize.
- Open Theme settings → Colors. Most current themes group colors into color schemes; find the scheme used by the section with the issue.
- Make the text color darker (or the background lighter) and check the result in the preview. Save.
- If the color comes from a single section or block, select that section in the editor and change its color scheme there instead.
WordPress
- Block themes: go to Appearance → Editor → Styles → Colors and change the text or background color in the palette.
- Classic themes: go to Appearance → Customize and look for a Colors section (its name varies by theme).
- If the color isn't in your theme settings, add a CSS override in Appearance → Customize → Additional CSS, using the element your report shows.
.site-footer p {
color: #4b5563; /* darker gray: 7.6:1 on white */
}Webflow
- If you use color variables, open the Variables panel and darken the variable used for the text. Every element using it updates.
- Otherwise, select the element in the Designer and change Typography → Color in the Style panel. Changing it on the class updates every element with that class.
- Publish, then re-run the audit.
Wix
- In the Wix Editor, open Site Design and adjust your site's text and background colors. Changes apply everywhere the theme color is used.
- For a single text box, select it, open the text settings and choose a darker color.
- Publish, then re-run the audit.
Squarespace
- Open Site Styles → Colors. Squarespace 7.1 uses color themes, each with its own text and background colors.
- Find the theme applied to the section with the issue and edit its text color (or background) until it's darker.
- Save, then re-run the audit.
Next.js
- Find where the color is defined: a CSS variable, your Tailwind config or a component's styles.
- Change it at the source so every use is fixed. In Tailwind, swap a light shade (text-gray-400) for a darker one (text-gray-600).
:root {
--text-muted: #4b5563; /* was #9ca3af: 2.5:1 on white */
}<p className="text-gray-600">…</p> {/* was text-gray-400 */}Any other site
- Find the CSS rule that sets the color of the element shown in your report.
- Change the color, ideally in one shared place (a CSS variable or a theme setting) so every use is fixed together.
.notice {
color: #4b5563; /* darker gray: 7.6:1 on white */
}“Globally, at least 2.2 billion people have a near or distance vision impairment.”
Check that it's fixed
- Re-run your StudioLNC audit: the color contrast issue should be gone, or show fewer elements.
- To check a color pair before changing it, use any WCAG contrast checker and aim for 4.5:1 or higher.
Find every issue like this on your site
Free audit of performance, accessibility, SEO and security, with fixes for your platform.