It is not absolutely necessary for a chair and ottoman to match. As long as the colours are not in complete contrast to one another and the proportions are not off, it is totally fine. Make sure they coordinate in some kind of way for a visually appealing look.