More generally use a contrast checker on any pair of colours that are likely to be in juxtaposition and need to be legible.
Helpful of the website to demonstrate the problem in situ in its tag links and code comments! (Maybe just in dark mode?)
WCAG color contrast checkers in particular have never steered me wrong. It's interesting (but makes sense) that contrast needs to be higher for small text than for large text!
Yes, you want enough contrast, but not too much. Either extreme is hard to look at for long periods.