Beka is a small settlement in the Municipality of Hrpelje-Kozina in the Littoral region of Slovenia on the border with Italy.