Drain beans. Mix beans, onion, and pepper in bowl. Mix vinegar, oil, salt, pepper, and sugar in separate bowl and pour over beans. Let sit 24 hours.