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