organic compounds
Open access
In the title molecule, C23H14N2O2, the atoms in the carbazole unit deviate from planarity [maximum deviation from mean plane = 0.1018 (8) Å]. The pyrrole ring makes dihedral angles of 4.44 (5), 3.84 (5), 2.18 (5) and 56.44 (5)° with the pyran, fused benzene rings and phenyl ring, respectively. In the crystal, pairs of N—HO hydrogen bonds generate R22(14) loops and a C—HN interaction is also found. Molecules are further linked by a number of π–π interactions [centroid–centroid distances vary from 3.5702 (5) to 3.7068 (6) Å], forming a three-dimensional network.