SCSS 색상 속성 변수로 인한 문제들

이렇게 하면 되나요?

$header_color: rgb(0,0,0);
$transparency: 0.5;

.d-header {
    background: rgba($header_color, $transparency);
}