{2-[(3,5-Dimethyl-2H-pyrrol-2-ylidene-κN)(4-nitrophenyl)methyl]-3,5-dimethyl-1H-pyrrol-1-ido-κN}difluoridoboron

In an effort to discover novel and potential boron–dipyrromethene (BODIPY) dyes, the title compound, C19H18BF2N3O2, was prepared from 2,4-dimethylpyrrole, 4-nitrobenzaldehyde and BF3·Et2O in a one-pot reaction. There are two independent molecules, A and B, in the asymmetric unit in which the dihedral angles between the benzene ring and boron–dipyrromethene mean plane have significantly different values [82.71 (8)° for molecule A and 73.16 (8)° for molecule B]. Intermolecular C—H⋯π interactions help to stabilize the crystal structure.