bestContrastWith
bestContrastWith( target, scope, { not? } )
Change the brand color. Every contrast ratio re-validates.
The most readable color in a palette against any background — WCAG-measured. Compliance becomes a rule the system enforces, not a checklist re-run after every redesign.
ui.set('label', bestContrastWith(
ref('ui.surface'),
scope('brand'),
))