Why contrast matters

Sufficient color contrast ensures content is readable for people with:

Low contrast is the #1 accessibility issue on the web, affecting 83% of home pages (WebAIM Million 2024).

WCAG contrast requirements

Text contrast (WCAG 1.4.3 - Level AA)

Text type Definition Required ratio
Normal text Under 18pt (24px) or under 14pt bold (19px) 4.5:1 minimum
Large text 18pt+ (24px+) or 14pt bold (19px bold) 3:1 minimum
Incidental text Inactive UI, decorative, logos No requirement

Non-text contrast (WCAG 1.4.11 - Level AA)

UI components and graphics need 3:1 contrast against adjacent colors:

Enhanced contrast (Level AAA)

For maximum accessibility:

Testing contrast

Online tools

Tool Best for Link
WebAIM Contrast Checker Quick two-color check webaim.org/resources/contrastchecker
Coolors Contrast Checker Visual preview coolors.co/contrast-checker
Who Can Use Simulates vision conditions whocanuse.com

Desktop applications

Browser extensions

UA brand colors and accessibility

Primary UA colors

Color Hex On white On black Usage notes
Arizona Red #AB0520 5.9:1 โœ“ 3.5:1 โœ“ Safe for normal text on white
Arizona Blue #0C234B 12.6:1 โœ“ 1.7:1 โœ— Excellent on white, not on black
Oasis #1E5288 6.8:1 โœ“ 3.1:1 โœ“ Safe for normal text on white
Darker Red #8B0015 8.2:1 โœ“ 2.6:1 โš ๏ธ Better contrast than Arizona Red

See the UA Brand Color Guide for full palette.

Problem combinations to avoid

Don't use color alone

WCAG 1.4.1: Color cannot be the only way to convey information.

Problem examples

Solutions

โœ— Color only

Error: Invalid email

Success: Form submitted

โœ“ Color + text/icon

โš ๏ธ Error: Invalid email

โœ“ Success: Form submitted

Designing for color blindness

Types of color blindness

Type Affects Prevalence
Protanopia/Protanomaly Red perception ~1.5% of men
Deuteranopia/Deuteranomaly Green perception ~6% of men
Tritanopia/Tritanomaly Blue perception ~0.01%
Achromatopsia All color (grayscale) ~0.003%

Safe color combinations

Testing for color blindness

Dark mode considerations

Many users prefer dark mode for reduced eye strain. Ensure contrast works in both modes:

Color & contrast checklist

Resources