The present application is directed to a dental material and a method of using the dental material. The dental material can include a hardenable resin; an initiator system; a filler; and from about 1 wt % to about 20 wt % zinc compound, based on the weight of the hardenable resin. The contrast ratio of the cured dental material increases by at least about 10 units after continuous exposure to an aqueous solution for 21 days