To turn high contrast on or off from the keyboard, press left Alt + left Shift + Print Screen.
How do I change the keyboard shortcut for contrast?
Tip: Press the left Alt key + left Shift key + Print screen (Print Scrn on some keyboards) to quickly turn high contrast mode on or off.