Haruka hiked several kilometers in the morning. She hiked only

\[6\] kilometers in the afternoon, which was
\[25\%\] less than she had hiked in the morning.
How many kilometers did Haruka hike in all?

Let's first find out how many kilometers Haruka hiked in the afternoon, which was 25% less than she hiked in the morning.

If X is the number of kilometers Haruka hiked in the morning, then 25/100 * X = 6 kilometers
Thus, X = 6 * 100 / 25 = <<6*100/25=24>>24 kilometers
Therefore, Haruka hiked a total of 24 + 6 = <<24+6=30>>30 kilometers. Answer: \boxed{30}.