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