Hex Color #DA81CB - Custom Color
Color Codes
HEX
#DA81CB
RGB
rgb(218, 129, 203)
HSL
hsl(310, 55%, 68%)
CMYK
cmyk(0%, 41%, 7%, 15%)
HSV
hsv(310, 41%, 85%)
Color Name
Custom Color
Color Variations
Color Harmonies
Accessibility
WCAG Contrast Ratios
Text on White Background
Sample Text
Contrast Ratio: 2.63:1
Fail - WCAG AA (Normal Text)
Fail - WCAG AAA (Normal Text)
Text on Black Background
Sample Text
Contrast Ratio: 7.98: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: #DA81CB;
color: #DA81CB;
border-color: #DA81CB;
}
Tailwind CSS (with arbitrary values)
bg-[#DA81CB]
text-[#DA81CB]
border-[#DA81CB]
// Example usage:
<div className="bg-[#DA81CB]">