Penile pain can be caused by UTI and/or STD. Dark urine can be caused by dehydration, bladder or kidney stones, hepatic/biliary disease, blood disorders, and/or certain foods or medications. See a doctor if symptoms persist.
Usually you would have pain if it is a uti.