The identical or nonidentical alleles of a specific gene at a given locus on homologous chromosomes in a diploid cell.