The person who is injured in the accident has a right to make a claim. The spouse of the injured person can also seek compensation for loss of consortium.
If a close relative was present at the accident scene and saw the accident, he or she can also seek compensation for infliction of emotional distress.
In situations where someone has died, see California Code of Civil Procedure Section 377.60:
The decedent’s surviving spouse, domestic partner, children, and issue of deceased children, or, if there is no surviving issue of the decedent, the persons, including the surviving spouse or domestic partner, who would be entitled to the property of the decedent by intestate succession.
(b) Whether or not qualified under subdivision (a), if they were dependent on the decedent, the putative spouse, children of the putative spouse, stepchildren, or parents. As used in this subdivision, “putative spouse” means the surviving spouse of a void or voidable marriage who is found by the court to have believed in good faith that the marriage to the decedent was valid.
(c) A minor, whether or not qualified under subdivision (a) or (b), if, at the time of the decedent’s death, the minor resided for the previous 180 days in the decedent’s household and was dependent on the decedent for one-half or more of the minor’s support.
(d) This section applies to any cause of action arising on or after January 1, 1993.