Hex Color #D862AB - Custom Color

Color Codes

HEX
#D862AB
RGB
rgb(216, 98, 171)
HSL
hsl(323, 60%, 62%)
CMYK
cmyk(0%, 55%, 21%, 15%)
HSV
hsv(323, 55%, 85%)
Color Name
Custom Color

Color Variations

Color Harmonies

Accessibility

WCAG Contrast Ratios

Text on White Background

Sample Text

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

Text on Black Background

Sample Text

Contrast Ratio: 6.25: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: #D862AB;
color: #D862AB;
border-color: #D862AB;
}

Tailwind CSS (with arbitrary values)

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