Tetras do prefer soft, slightly acidic conditions. I have pretty hard, alkaline water and I looked into setting up a cardinal tank here, but haven't done it yet. They don't tend to do very well in tap water here. At my quality LFS, which knows what they are doing and has earned my trust, they have a beautiful show tank with the biggest, most amazing cardinal tetra specimens I have ever seen. They cut the tap water with 50% R/O to soften. Then use driftwood and peat in the filter to keep the water acidic and full of tannins. I may be mistaken, but I think the soft aspect of the water may be more important overall than the ph aspect. But I'm not entirely sure about that. I believe that most cardinals in the hobby are raised in "wild" conditions on captive river farms, essentially wild-caught and sensitive, but you can make an effort to source tank raised specimens that should be more adaptable to slightly alkaline conditions. Good luck!