Hex Color #D471CA - Custom Color
Color Codes
HEX
#D471CA
RGB
rgb(212, 113, 202)
HSL
hsl(306, 54%, 64%)
CMYK
cmyk(0%, 47%, 5%, 17%)
HSV
hsv(306, 47%, 83%)
Color Name
Custom Color
Color Variations
Color Harmonies
Accessibility
WCAG Contrast Ratios
Text on White Background
Sample Text
Contrast Ratio: 2.99:1
Fail - WCAG AA (Normal Text)
Fail - WCAG AAA (Normal Text)
Text on Black Background
Sample Text
Contrast Ratio: 7.01:1
Pass - WCAG AA (Normal Text)
Pass - 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: #D471CA;
color: #D471CA;
border-color: #D471CA;
}
Tailwind CSS (with arbitrary values)
bg-[#D471CA]
text-[#D471CA]
border-[#D471CA]
// Example usage:
<div className="bg-[#D471CA]">