Your goal is to find the secret four-color code. The following colors are possible: purple, white, pink, black, blue, red.
Some guesses have already been made. I will provide feedback for each guess made with which it is possible to unambigiously determine the secret code.

Previous Guesses:
Guess: ['purple', 'blue', 'black', 'pink']. Hint: one color is in the correct position and one color is in the secret code but in the wrong position.
Guess: ['purple', 'purple', 'white', 'pink']. Hint: one color is in the correct position and one color is in the secret code but in the wrong position.
Guess: ['purple', 'black', 'purple', 'red']. Hint: three colors are in the secret code but in the wrong positions.
Guess: ['black', 'purple', 'black', 'purple']. Hint: two colors are in the correct positions.
A B C D
red, red, blue, black pink, pink, purple, pink red, red, blue, pink red, purple, black, white