I usually look up palettes and the UI comes out nice except some color pairs don't pass wcag color contrast and well - just isn't readable
Ended up writing a tiny library that automatically nudges your text color just enough to pass AA or AAA, while keeping it visually similar to the original
along with a color contrast linter so we can use it in CI
Thought you guys might find it useful too, it's foss :>