Your goal is to find the secret four-color code. The following colors are possible: purple, green, red, white, black, pink.
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: ['red', 'pink', 'green', 'black']. Hint: one color is in the correct position and two colors are in the secret code but in the wrong position.
Guess: ['purple', 'green', 'green', 'red']. Hint: two colors are in the secret code but in the wrong positions.
Guess: ['red', 'white', 'pink', 'purple']. Hint: one color is in the correct position and two colors are in the secret code but in the wrong position.
Guess: ['red', 'purple', 'black', 'pink']. Hint: two colors are in the correct positions and two colors are in the secret code but in the wrong positions.
A B C D
red, black, purple, pink green, black, green, black black, green, purple, purple black, green, red, white