Beyond contrasting colors, the contrast between different type sizes, weights, and styles is also key to creating typographic hierarchy. A difference of only one or two points in type size won't create enough contrast to make the hierarchy apparent to most users.
Hope this helps have an excellent day!