Hex Color #DA11A1 - Custom Color
Color Codes
HEX
#DA11A1
RGB
rgb(218, 17, 161)
HSL
hsl(317, 86%, 46%)
CMYK
cmyk(0%, 92%, 26%, 15%)
HSV
hsv(317, 92%, 85%)
Color Name
Custom Color
Color Variations
Color Harmonies
Accessibility
WCAG Contrast Ratios
Text on White Background
Sample Text
Contrast Ratio: 4.59:1
Pass - WCAG AA (Normal Text)
Fail - WCAG AAA (Normal Text)
Text on Black Background
Sample Text
Contrast Ratio: 4.58: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: #DA11A1;
color: #DA11A1;
border-color: #DA11A1;
}
Tailwind CSS (with arbitrary values)
bg-[#DA11A1]
text-[#DA11A1]
border-[#DA11A1]
// Example usage:
<div className="bg-[#DA11A1]">