Accessible Color Pair Generator

Background
 
Foreground
 
Readable sample text
WCAG AA contrast ratio:  
Color pair generated locally in your browser with the Web Crypto API.

Copyable CSS variables

Generate a random HEX background and foreground pair for UI mockups. Each pair meets WCAG AA contrast for normal text at 4.5:1 or better.