Testing with real people is always preferable if you can.
You can simulate colour blindness with various tools though such as: https://colororacle.org
The contrast ratio can pass the guideline criteria but still be hard to read: https://mastodon.social/@giltay/100640303516475367
✨