Contrast ratios that pass and still fail
Jonah Whitfield
Type Designer · Leeds
- Sep 27, 2025
- 2 min read
- 12
Where WCAG maths and real readability part ways, and what we check instead. Colour and type decisions look subjective until you have to maintain them across three themes and two platforms.
Dark surfaces are their own palette
Our second typeface was chosen for its x-height and rhythm, not for contrast with the first. The pairing reads as one voice, which matters more in a product than on a poster.
Pairing for rhythm, not contrast
A colour pair can pass WCAG contrast and still be hard to read, especially with thin weights at small sizes. We now check real text at real sizes on real devices alongside the ratio.
- Test contrast with real text, not swatches
- Build ramps in a perceptual colour space
- Design dark surfaces separately
- Match x-heights when pairing typefaces
Where the maths lies
Dark mode got its own palette built from surfaces and elevation. Inverting the light theme produced glowing borders and muddy text; designing it separately took a week and saved months.
Generating ramps in OKLCH gave us steps that finally looked evenly spaced. The brand magenta survived the move almost untouched, while the greys stopped drifting blue at the dark end.
The short version: make the decision visible, make it reversible, and write down why. The rest is mostly patience.
Found this useful?
About the author
Jonah Whitfield
Type Designer · Leeds
Jonah draws typefaces for screens and sets them for the studio. He has opinions about numerals, line length, and the colour of grey text.












Kwame Mensah
Oct 3, 2025This matches our experience almost exactly. The renaming pass was painful, but nobody wants to go back.
Marcus Chen
Oct 5, 2025We handled that by assigning an owner per component, which mostly worked.
Hannah Brooks
Oct 5, 2025Would love a follow-up on how the team felt about the change after six months.
Zara Ahmed
Oct 7, 2025Same here. The second attempt went much better once we wrote the rules down first.
Diego Morales
Author's pick Oct 5, 2025The quote near the end is going on a sticky note above my desk.
Chiara Bianchi
Oct 9, 2025The quote near the end is going on a sticky note above my desk.
Jonah Whitfield
Author Oct 9, 2025Good catch. We tested on a mid-range phone, but I will add a low-end device to the next round.
Rafael Costa
Oct 10, 2025This matches our experience almost exactly. The renaming pass was painful, but nobody wants to go back.
Oliver Grant
Oct 13, 2025This matches our experience almost exactly. The renaming pass was painful, but nobody wants to go back.
Oliver Grant
Author's pick Oct 15, 2025Would love a follow-up on how the team felt about the change after six months.
Jules Martin
Oct 16, 2025Did you measure anything before and after? I would love to show numbers to our leadership.
Jonah Whitfield
Author Oct 19, 2025Glad it helped. The list is adapted from a checklist we keep in the studio wiki.