The present invention provides: a pyrimidine derivative that can be applied to an agricultural chemical or medicine having excellent pharmacological activity and has a fluorine-containing substituent group and a method for producing said derivative. Provided is a compound represented by belowmentioned formula (A). Rf is a group in which an ethereal oxygen atom has been inserted into a carbon-carbon bond of a C2-19 perfluoroalkyl group, wherein the sum total of the number of carbon atoms and the number of oxygen atoms is 3-20. R1 is a C1-6 alkyl group or the like. Q1 is R2C(O)-, R3OC(O)-, a carboxy group, R4OC(O)NH-, an amino group, or R5C(O)NH- (R2-R5 are C1-6 alkyl groups or the like).