By Fatskills Exam Guides Team — the exam nerds behind 28,500+ quizzes and 2.1M practice questions across 500+ global exams.
Color isn’t just about aesthetics—it’s a functional tool that guides users, communicates hierarchy, and ensures inclusivity. Poor color choices can make text unreadable, buttons invisible, or forms frustrating, leading to drop-offs (e.g., a checkout button that blends into the background) or exclusion (e.g., a hospital portal where color-coded alerts are missed by color-blind users). Mastering contrast ratios and WCAG standards ensures your designs are usable, accessible, and legally compliant (many countries mandate WCAG AA for public-facing products).
Example: A gray #777777 button on a white #FFFFFF background has a 4.5:1 ratio (WCAG AA compliant for normal text).
#777777
#FFFFFF
WCAG 2.1 AA/AAA:
Example: A healthcare app’s error message (red #D32F2F on white #FFFFFF) must meet 4.5:1 to be AA compliant.
#D32F2F
Hue, Saturation, Lightness (HSL): A color model that separates color into three properties:
Example: Adjusting a button’s lightness from 50% to 70% can improve contrast without changing its hue.
Color Blindness (Protanopia/Deuteranopia/Tritanopia):
Example: Avoid using red and green for "success/error" states—add icons (?/?) or patterns (stripes) for clarity.
Simultaneous Contrast: When two colors are placed side by side, they appear to shift in hue/saturation.
Example: A gray button on a blue background may look slightly purple due to this effect.
Von Restorff Effect (Isolation Effect): Items that stand out visually are more memorable.
Example: A bright yellow "Upgrade Now" button on a neutral dashboard draws attention.
Gestalt Principles (Proximity & Similarity):
Example: A form with grouped fields (e.g., "Billing Address" in a light gray box) uses proximity and similarity to reduce cognitive load.
Semantic Color: Using color to convey meaning (e.g., red = error, green = success).
Example: A "Delete" button in red signals danger, while a "Save" button in blue feels neutral.
Accessible Color Palettes:
Example: A design system with a base blue (#2196F3), a lighter tint (#BBDEFB) for backgrounds, and a darker shade (#0D47A1) for text links.
Figma’s Contrast Checker: A plugin/tool to test WCAG compliance in real time.
Example: Highlight text and background layers in Figma, then run the Stark or A11y plugin to check ratios.
Dark Mode Accessibility:
#121212
#666666
#F5F5F5
#555555
#FF0000
#00FF00
#333333
Primary: #2196F3 (AAA compliant on white) Error: #D32F2F (AA compliant on white) Success: #388E3C (AA compliant on white)
Example: "Show me a design where you improved accessibility."-Pull up a before/after Figma file with contrast ratios annotated.
Design Systems Thinking: Do you consider scalability?
Example: "How would you apply this to a design system?"-Mention color tokens (e.g., --color-text-primary) and documentation.
--color-text-primary
User-Centricity: Do you test with real users?
#87CEEB
Answer: "This color has a 1.9:1 contrast ratio, failing WCAG AA. Let’s darken it to #5D9CEC (4.6:1) or use it only for large text (3:1 minimum)."
#5D9CEC
Scenario: You’re designing a dark mode dashboard. The client wants to use pure black (#000000) for the background. What’s the risk?
#000000
Answer: Pure black on OLED screens can cause halation (glow effect), making text harder to read. Use a dark gray (#121212) instead.
Scenario: A user with deuteranopia can’t distinguish between your "Active" (green) and "Inactive" (red) tabs. How do you fix this?
UI components (buttons, icons): 3:1
WCAG AAA Contrast Ratios:
Large text: 4.5:1
Color Blindness Types:
Tritanopia: Blue-yellow (rare).
Figma Shortcuts for Accessibility:
Cmd/Ctrl + Shift + P
Color Blind Simulator: Cmd/Ctrl + Shift + P-"Protanopia/Deuteranopia."
HSL Adjustments for Contrast:
Avoid low-saturation colors (e.g., pastels) for text.
Semantic Color Traps:
Green-Success (add-or "Saved").
Dark Mode Tips:
Text: #E0E0E0 (not pure white).
#E0E0E0
Design System Must-Haves:
State variants (hover, disabled, active).
Testing Tools:
Color Oracle (color blindness simulator).
Portfolio Storytelling:
Join 4M+ learners. Unlock unlimited quizzes, wrong-answer tracking, flashcards + reminders, study guides, and 1-on-1 challenges.