Accessibility work is design work. When a brand colour fails contrast on a light ground, the answer is not to ship it and hope. The answer is to find the darker tone that still reads as the same brand, and use it for text.
We keep a filled brand surface and a readable brand text colour as two separate tokens. That one split removes most of the contrast problems we used to hit.