The coloring number of a graph is the smallest number for which there exists a linear ordering of the vertices of such that each vertex is preceded by fewer than of its neighbors. It is well known that for any graph , where denotes the chromatic number of . The Randić index of a graph is defined as the sum of the weights of all edges of , where denotes the degree of a vertex in . We show that for any connected graph with at least one edge, and if and only if is a complete graph with some pendent edges attaching to its same vertex, where is a modification of Randić index, defined as the sum of the weights of all edges of . This strengthens a relation between Randić index and chromatic number by Hansen et al. [7], a relation between Randić index and coloring number by Wu et al. [17] and extends a theorem of Deng et al. [2].