Hex Color #D170CB - Custom Color

Color Codes

HEX
#D170CB
RGB
rgb(209, 112, 203)
HSL
hsl(304, 51%, 63%)
CMYK
cmyk(0%, 46%, 3%, 18%)
HSV
hsv(304, 46%, 82%)
Color Name
Custom Color

Color Variations

Color Harmonies

Accessibility

WCAG Contrast Ratios

Text on White Background

Sample Text

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

Text on Black Background

Sample Text

Contrast Ratio: 6.89:1
Pass - 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: #D170CB;
color: #D170CB;
border-color: #D170CB;
}

Tailwind CSS (with arbitrary values)

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