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