Lululemon Athletica Inc. cut its outlook for the year after falling behind in a fashion trend: basics are out, fancy is in.

After spending the better part of last year trying to fix the fabric in its yoga pants, which were recalled for being too sheer, the company ended the first quarter with high levels of unsold basics—like its signature...