Deja, an 11-year-old in Sunland, California, was sent to the principal's office at her middle school last week over a supposedly "racy" pair of clothing: her pants.

KTLA reports that the middle schooler was called in for discipline over the dark brown leggings she was wearing, which got her dismissed from class on Friday. She returned to school on Tuesday.

Deja's mother, Yolanda Tunstill, says that the incident was related to her daughter's skin color, as she's never been called in for wearing leggings before she wore this dark brown pair. "I felt discriminated against," she said. "I can understand if they said okay, this type of material, this type of clothing [was inappropriate]. But for you to make a remark to state because the pants were brown and to make a remark about my daughter's skin color... That was not right to me." She's planning to take legal action.

Mount Gleason Middle School maintains that the school's dress code policy bars students from wearing sleepwear, loungewear or tights as pants and that this is simply an issue of enforcing the rules.

This isn't the first time tights have caused controversy: in June, a court reporter in New Zealand was kicked out of court for wearing gold disco pants.

Read more over at KTLA.

Dress code or no, see some (grown adults) wearing leggings as pants:

Loading Slideshow...
  • Rihanna, 2012

    (FilmMagic)

  • Charlize Theron, 2012

    (WireImage)

  • Demi Lovato, 2012

    (WireImage)

  • Jessica Alba, 2012

    (WireImage)

  • Selena Gomez, 2012

    (Getty photo)

  • Christy Turlington, 2012

    (Getty photo)

  • Emma Roberts, 2012

    (Getty photo)

  • Lindsay Lohan, 2012

    (FilmMagic)

  • Eva Herzigova, 2012

    (Getty photo)

  • Liv Tyler, 2012

    (David Lerner/Getty photo)

  • Dolly Parton, 2012

    (WireImage photo)

  • Chloe Green, 2012

    (FilmMagic photo)

  • Kelly Bensimon, 2012

    (David Lerner/FilmMagic photo)

  • Hilary Duff, 2012

    (FilmMagic)

  • Gabby Douglas, 2012

    (Getty Images)

  • Mel B, 2012

    (FilmMagic)

  • Nicki Minaj, 2012

    (Getty Images)

  • Beyoncé, 2011

    (FilmMagic photo)

  • Jessica Simpson, 2011

    (Getty photo)

  • Nicki Minaj, 2011

    (WireImage photo)

  • Irina Shayk, 2011

    (David Lerner/FilmMagic photo)

  • Gwen Stefani, 2011

    (FilmMagic photo)

  • Erin Heatherton, 2011

    (WireImage photo)

  • Jeanette Branch, 2011

    (WireImage photo)

  • Pippa Middleton, 2011

    (FilmMagic photo)

  • Lauren Conrad, 2010

    (Getty photo)

  • Sofia Vergara, 2010

    (Getty photo)

  • Christina Aguilera, 2010

    (WireImage photo)

  • Rachel Bilson, 2010

    (WireImage photo)

  • Kourtney Kardashian, 2008

    (WireImage photo)

  • Hilary Duff Shows Off Her Amazing Legs in Skintight Leggings

    Hilary Duff has showed off her amazing slim post-pregnancy figure in black leggings after it was revealed she has lost 30lbs since giving birth.

Want more? Be sure to check out HuffPost Style on Twitter, Facebook, Tumblr and Pinterest.