For any discrete group Γ and any two-dimensional complex representation ρ of Γ, we introduce the notion of ρ-equivariant functions, and we show that they are parametrized by vector-valued modular forms. We also provide examples arising from the monodromy of differential equations.