Hex Color #D4334D - Custom Color
Color Codes
HEX
#D4334D
RGB
rgb(212, 51, 77)
HSL
hsl(350, 65%, 52%)
CMYK
cmyk(0%, 76%, 64%, 17%)
HSV
hsv(350, 76%, 83%)
Color Name
Custom Color
Color Variations
Color Harmonies
Accessibility
WCAG Contrast Ratios
Text on White Background
Sample Text
Contrast Ratio: 4.79:1
Pass - WCAG AA (Normal Text)
Fail - WCAG AAA (Normal Text)
Text on Black Background
Sample Text
Contrast Ratio: 4.38: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: #D4334D;
color: #D4334D;
border-color: #D4334D;
}
Tailwind CSS (with arbitrary values)
bg-[#D4334D]
text-[#D4334D]
border-[#D4334D]
// Example usage:
<div className="bg-[#D4334D]">