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