They sounds the same in the U.S., as far as I've experience
in reply to a message by Elinor
But it's not because of an a sound so much as the fact that there is not an actual a-sound in the American pronunciation of Karen. Mad- and med- sound totally different to me.