Combine crème fraîche, Dijon mustard, whole-grain mustard, minced shallots, drained capers, salt, and pepper in a small bowl.