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