The hard red substance is the roe or the eggs of the female lobster. It is also called the coral because because of the deep red color . The roe will be black and will appear gelatin-like if your lobster is under-cooked. It is edible but can also be rinsed out. Learn more about what’s inside a lobster.