Hex Color #DA3071 - Custom Color
Color Codes
HEX
#DA3071
RGB
rgb(218, 48, 113)
HSL
hsl(337, 70%, 52%)
CMYK
cmyk(0%, 78%, 48%, 15%)
HSV
hsv(337, 78%, 85%)
Color Name
Custom Color
Color Variations
Color Harmonies
Accessibility
WCAG Contrast Ratios
Text on White Background
Sample Text
Contrast Ratio: 4.52:1
Pass - WCAG AA (Normal Text)
Fail - WCAG AAA (Normal Text)
Text on Black Background
Sample Text
Contrast Ratio: 4.64: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: #DA3071;
color: #DA3071;
border-color: #DA3071;
}
Tailwind CSS (with arbitrary values)
bg-[#DA3071]
text-[#DA3071]
border-[#DA3071]
// Example usage:
<div className="bg-[#DA3071]">