How the palette is built
Start from one brand colour and the generator produces candidate colours that keep its hue while shifting lightness until the pair reaches your chosen ratio: text on the original brand colour, plus pairs on white and black. Roles such as primary, secondary, accent, success, warning and error each get their own measured pair.
The ratio targets map to WCAG success criteria: 3:1 covers large text and non-text contrast (1.4.3 and 1.4.11), 4.5:1 covers normal body text (1.4.3), and 7:1 is the enhanced level (1.4.6). The exact measured ratio is shown for every pair, so you can compare rather than trust a pass/fail tick.