I would have said beige would go best with a brown carpet, although yellow and blue work as well.
I would do a shade of red
You should try going to Home Depo, that way you can see something you like to match your brown carpet.