Windsheild Wiper Wiring ??????

I did a two speed to variable speed conversion not long ago and I think the pink wire is the power feed and the motor should get 4 wires like you said red, green, brown, and blue. Some switches will have an additional terminal so that a wiper washer can be run from a push of the switch.