Since it is a gene based on the color. Even though the capital R is the dominant traits it is still influenced by the lowercase r which is the recessive trait. When you mix red and white it makes pink. And since it is not 100% dominant trait the color ends up being pink