Every background shade needs a text color that passes WCAG contrast. Computing the pair once per shade avoids guesswork.
Check early
Contrast problems are cheap to fix in the palette and expensive to fix page by page.
Every background shade needs a text color that passes WCAG contrast. Computing the pair once per shade avoids guesswork.
Contrast problems are cheap to fix in the palette and expensive to fix page by page.