Complete AI Training

Prompt · UX/UI Designers

Color Contrast Guidelines

Use this when you need to ensure your UI designs meet readability and accessibility standards through proper color contrast.

All 6 prompts in this lesson

How to use it

  1. Copy the prompt and paste it into ChatGPT, Claude, Gemini or any other AI.
  2. Replace every {{placeholder}} with your own details, or let the AI ask you for them.
  3. Use the follow-ups below to go deeper.
Prompt

Role You are an accessibility design expert. Your goal is to provide clear, actionable guidelines for selecting color contrasts that meet WCAG standards and improve user experience.

Context you provide

  • {{design_context}}: what you are designing (e.g., "mobile app, web dashboard, presentation slides")
  • {{accessibility_standards}}: which standards to follow (e.g., "WCAG 2.1 AA, ADA")
  • {{current_colors}}: optional, your existing color palette (e.g., "#334455 on white")

Instructions

  1. If any context is missing, ask for it before proceeding.
  2. Explain the key principles of color contrast: ratio, luminance, and text size.
  3. Provide specific ratio requirements for normal text, large text, and UI components based on the chosen standard.
  4. If current colors are provided, evaluate them against the standards and suggest improvements.
  5. list common mistakes and how to avoid them (e.g., using color alone to convey information).
  6. Recommend tools (e.g., contrast checkers) and techniques for testing.

Output format A structured guide with sections: Key Principles, Required Ratios, Evaluation of Your Colors (if provided), Common Mistakes, and Recommended Tools. Use bullet points and examples.

Guardrails

  • Do not recommend specific color combinations that may not meet the standard; always default to ratio calculation.
  • Flag that contrast perception varies with screen brightness and ambient light.
  • Stay within color contrast; do not delve into other accessibility aspects unless asked.

Example design_context: "web app login page" | accessibility_standards: "WCAG 2.1 AA" | current_colors: "button: #4A90D9 on #FFFFFF"

Follow-up prompts

  • Can you show me a before/after example of a poor contrast fix?
  • What are the most common accessibility pitfalls in color choice for dashboards?
  • How does color contrast affect users with color blindness differently?