You asked
How does a 50mm lens compare with a 27mm prime for portraits on aps c?
Here is what the site says about that.
From Lenses: Your first lenses: 1. A standard zoom, 24-70mm or 24-105mm equivalent. The kit zoom is fine to start. 2. A fast standard prime, a 50mm f/1.8 on full frame or a 33-35mm f/1.4 to f/1.8 on APS-C. Low light, people, food. 3. Then add for what you shoot: a telephoto zoom for wildlife and sport (wildlife and sport), a wide zoom for landscapes (landscape), or an 85mm for portraits (portraits).
From Focal length converter: Focal length converter: A focal length is a property of the lens, but how much of the scene it shows depends on the sensor behind it. A 50mm lens frames like a 75mm on full frame when it sits in front of an APS-C sensor, and like a 100mm in front of Micro Four Thirds. To compare lenses across systems, convert them to the same format; full frame is the usual reference.
Quoted from this site's pages.
From these pages
This answer is for the question above. Each answer is written for the exact question in its address, so a question with its details in it (a budget, what you shoot, what you already have) gets an answer about those details. An answer draws on all 15 pages of the guide and its catalogue of 320 cameras and 1050 lenses. Another question gets its own answer at its own address, as words after /ask/. Or fill in your own: /ask/which-camera-for-{what-you-shoot}-under-{budget}-euros or /ask/which-lens-for-{what-you-shoot}-on-{your-camera}.