Practical guide and verification
Complement depends on the colour model
A complementary colour is defined relative to a colour model or wheel. Rotating hue by 180 degrees in HSL/HSV is a useful digital convention, but it is not identical to every artistic or perceptual definition of complementary colour.
Use contrast deliberately
Complementary hues can create strong visual separation, yet equal saturation and lightness may feel harsh. Adjust lightness, saturation and neutral spacing instead of treating the generated pair as a finished accessible palette.
Common mistake
Do not assume hue opposition guarantees readable text. Accessibility contrast depends on relative luminance, so two visually different hues can still fail text-contrast requirements.