In 2006 Brown asked the following question in the spirit of Ramsey theory: given a non-periodic infinite word x = x(1)x(2)x(3) ... with values in a set A, does there exist a finite colouring phi : A(+) -> C relative to which x does not admit a phi-monochromatic factorization, i.e. a factorization of the form x = u(1)u(2)u(3) ... with phi(u(i)) = phi(u(j)) for all i, j >= 1? Various partial results in support of an affirmative answer to this question have appeared in the literature in recent years. In particular it is known that the question admits an affirmative answer for all non-uniformly recurrent words and for various classes of uniformly recurrent words including Sturmian words and fixed points of strongly recognizable primitive substitutions. In this paper we give a complete and optimal affirmative answer to this question by showing that if x = x(1)x(2)x(3) ... is an infinite non-periodic word with values in a set A, then there exists a 2-colouring phi : A(+) -> {0, 1} such that for any factorization x = u(1)u(2)u(3) ... we have phi(u(i)) not equal phi(u(j)) for some i not equal j.