If I had the many black grey and white socks and i pulled out 2 socks that did not match. How many more socks do i have to take out of my drawer to be certain to have a matching pair

If on three tries, you pulled out one black, one grey, and one white sock, then on the fourth try, you must have a pair.