To provide a pyrimidine derivative having a fluorinated substituent group, that can be applied to an agricultural chemical or pharmaceutical having excellent pharmacological activities, and a method for producing said derivative. A compound represented by the following formula (A). Rf is a group having an etheric (ethereal) oxygen atom inserted between carbon-carbon atoms in a C2-19 perfluoroalkyl group, wherein the total of the number of carbon atoms and the number of oxygen atoms is from 3 to 20. R1 is a C1-6 alkyl group, etc. Q1 is R2C(O)—, R3OC(O)—, a carboxy group, R4OC(O)NH—, an amino group, or R5C(O)NH—(R2 to R5 are each independently a C1-6 alkyl group, etc.).