Shows the WCAG 2 contrast ratio truncated, never rounded up (#777 on white is 4.47:1 and fails), with AA/AAA marks for normal and large text, and a one-tap nearest passing colour that changes only lightness so the hue stays on brand.
npx shadcn@latest add @bollard/contrast-pickercontrast-picker