4.54:1
Check any two colors against WCAG AA and AAA.
Each one does a single thing, exactly right. No sign-up, and nothing leaves your browser.
Check any two colors against WCAG AA and AAA.
Ratio-based type hierarchy.
Steps from one color.
A named 10-step palette from one color.
A color pair can look fine on your screen and fail in real use. WCAG gives you a number. Here is what 4.5:1 and 7:1 mean, what "large text" really is, and which pairs to check first.
Read moreA type hierarchy is not a list of sizes you liked in a mock. It is a base size and a ratio. Use those until the page has enough steps — and no extra ones.
Read moreMixing a color toward white or black is a small, useful move in UI. Teams skip it, then invent a new hex for every hover state.
Read more