Matschgand is cooked by both Kashmiri Pandits and Muslims; the Pandit version uses no onion or garlic.
The colour comes from Kashmiri chilli, not heat alone.