Set contrast on states