Semiconductor charge transfer (CT) cocrystals are an emerging class of molecular materials which combines the characteristics of the constituent molecules in order to tune physical properties. Cocrystals can exhibit polymorphism, but different stoichiometries of the donor-acceptor (DA) pair can also give different structures. In addition, the structures of the donor and acceptor as pristine compounds can influence the resulting cocrystal forms. We report a structural study on several CT cocrystals obtained by combining the polyaromatic hydrocarbon perylene with 7,7,8,8-tetracyanoquinodimethane (TCNQ) and its fluorinated derivatives having increasing electronegativity. This is achieved by varying the amount of fluorine substitution on the aromatic ring, with TCNQ-F2 and TCNQ-F4. We find structures with different stoichiometries. Namely, the system perylene:TCNQ-F0 is found with ratios 1:1 and 3:1, while the systems perylene:TCNQ-Fx (x = 2, 4) are found with ratios 1:1 and 3:2. We discuss the structures on the basis of the polymorphism of perylene as pure compound, and show that by a judicious choice of growth temperature the crystal structure can be in principle designed a priori. We also analyze the structural motifs taking into account the degree of charge transfer between the perylene donor and the TCNQ-Fx acceptors and the optical gap determined from infrared (IR) spectroscopy. This family of materials exhibits tunable optical gaps in the near-IR (NIR), promising applications in organic optoelectronics.