It's acceptable to use tools to increase diversity of candidates for open positions, because those candidates must still satisfy the position's threshold requirements and compete on whatever criteria the hiring company has set forth internally for the position.
It would not be acceptable to base the ultimate hiring decisions on sex or national origin.