Here's a secret that IBM Carbon, Google Material, and Salesforce Lightning have known for awhile.
Colors with the same perceptual lightness value in the CIE-LAB color space have the same contrast ratios. This means you can ensure accessible combinations if every palette adheres to the same lightness values.
This secret is the reason I built Color Grid. Every designer should be able to benefit from this knowledge but have the flexibility to create their own palettes.