Contrast is a ratio, not a feeling
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.
Notes on color, type, and the calculations behind the tools.
4 posts
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.
A 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.
Mixing 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.
A brand hex is a starting point. A UI needs a named 10-step scale so surfaces, text, borders, and states can share a hue without a new swatch every week.