This problem exists a long time ago on Android pie, not Oreo. I have to change the setting of contrast in automatic and turning off and turn on the screen is no problem, but when set to high contrast, when you turn off and on the screen you see dark colors. Sorry for my english but I use translator.