In this paper we consider an extension to the aggregation of the FGM mixed Erlang risks, proposed by Cossette et al. (2013 Insurance: Mathematics and Economics, 52, 560–572), in which we introduce the Sarmanov distribution to model the dependence structure. For our framework, we demonstrate that the aggregated risk belongs to the class of Erlang mixtures. Following results from S. C. K. Lee and X. S. Lin (2010 North American Actuarial Journal, 14(1) 107–130), G. E. Willmot and X. S. Lin (2011 Applied Stochastic Models in Business and Industry, 27(1) 8–22), analytical expressions of the contribution of each individual risk to the economic capital for the entire portfolio are derived under both the TVaR and the covariance capital allocation principle. By analysing the commonly used dependence measures, we also show that the dependence structure is wide and flexible. Numerical examples and simulation studies illustrate the tractability of our approach.