Whites are gray looking or brown stains

I have a 3 year old Whirlpool Duet washer that I hate. My whites are gray looking or brown stains are left on the whites, white socks are never clean. My whites are not white! I’ve added clorox but does not help. I run the clean cycle with clorox monthly. I’ve tried different HE detergents. Any suggestions? Anyone else experience this problem? Will never buy Whirlpool again.