Hex Color #CB17BF - Custom Color

Color Codes

HEX
#CB17BF
RGB
rgb(203, 23, 191)
HSL
hsl(304, 80%, 44%)
CMYK
cmyk(0%, 89%, 6%, 20%)
HSV
hsv(304, 89%, 80%)
Color Name
Custom Color

Color Variations

Color Harmonies

Accessibility

WCAG Contrast Ratios

Text on White Background

Sample Text

Contrast Ratio: 4.76:1
Pass - WCAG AA (Normal Text)
Fail - WCAG AAA (Normal Text)

Text on Black Background

Sample Text

Contrast Ratio: 4.41:1
Fail - WCAG AA (Normal Text)
Fail - WCAG AAA (Normal Text)

Recommended Text Color

For best readability on this background color, use white text.

Similar Colors

Color in Use

Card with colored border

Background with 20% opacity

CSS Code

.element {
background-color: #CB17BF;
color: #CB17BF;
border-color: #CB17BF;
}

Tailwind CSS (with arbitrary values)

bg-[#CB17BF]
text-[#CB17BF]
border-[#CB17BF]
// Example usage:
<div className="bg-[#CB17BF]">