Hex Color #DA0747 - Custom Color
Color Codes
HEX
#DA0747
RGB
rgb(218, 7, 71)
HSL
hsl(342, 94%, 44%)
CMYK
cmyk(0%, 97%, 67%, 15%)
HSV
hsv(342, 97%, 85%)
Color Name
Custom Color
Color Variations
Color Harmonies
Accessibility
WCAG Contrast Ratios
Text on White Background
Sample Text
Contrast Ratio: 5.12:1
Pass - WCAG AA (Normal Text)
Fail - WCAG AAA (Normal Text)
Text on Black Background
Sample Text
Contrast Ratio: 4.10:1
Fail - 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: #DA0747;
color: #DA0747;
border-color: #DA0747;
}
Tailwind CSS (with arbitrary values)
bg-[#DA0747]
text-[#DA0747]
border-[#DA0747]
// Example usage:
<div className="bg-[#DA0747]">