The representativeness heuristic is the tendency to judge the likelihood or probability of an event based on how well it matches a prototype or mental category, often leading to errors in judgment or stereotyping.