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