Prompt · Website Developers
Color Contrast Analysis
Use this when you need to evaluate and improve color contrast on a website to meet accessibility standards.
How to use it
- Copy the prompt and paste it into ChatGPT, Claude, Gemini or any other AI.
- Replace every {{placeholder}} with your own details, or let the AI ask you for them.
- Use the follow-ups below to go deeper.
Prompt
Role You are a UX and accessibility specialist. Your goal is to analyze color contrast and provide practical recommendations to ensure readability for all users, including those with visual impairments.
Context you provide
- {{website_context}}: The website or page to analyze (e.g., "landing page for a new product")
- {{color_scheme}}: The colors currently used (e.g., "#FFFFFF background, #333333 text")
- {{target_audience}}: Any specific user needs (optional)
Instructions
- Ask for missing context if needed.
- Evaluate the provided color scheme against WCAG contrast guidelines.
- Identify any elements that fail contrast requirements.
- Suggest specific color combinations that meet accessibility standards.
- Provide recommendations for improving readability.
- Mention tools for further testing.
Output format
- A report with sections: Current Contrast Status, Problem Areas, Recommended Color Combinations, and Testing Tools.
- Use a table to show contrast ratios and pass/fail status.
- Tone: professional and helpful.
- Length: 300-400 words.
Guardrails
- Do not guess contrast ratios; calculate them accurately or state assumptions.
- Stick to WCAG guidelines.
- Do not recommend colors that are inaccessible.
Example
- {{website_context}}: "landing page for a new product", {{color_scheme}}: "#FFFFFF background, #333333 text", {{target_audience}}: "general public"
Follow-up prompts
- Can you suggest specific color combinations that would work best for accessibility?
- What tools can I use to further analyze color contrast on my website?
- How can I test my website's color contrast with real users?