1. Check the contrast
Make sure text and background have enough contrast in both themes. Many websites set their own colours and ignore the system setting.
2. Adjust the theme
Switch the app or browser theme, or use a reader or forced dark mode setting carefully. Test the page after each change.
3. Report or override
Report the problem to the site owner, or use a browser setting to override colours for that site only.