Ability to resist penetration or the material which don't get scratched are called hard material.
Without much deformation the ability of the material to get fracture is called brittleness. So both the properties are different.
Ex., Diamond, glass, iron