Hex Color #DF1E4D - Custom Color
Color Codes
HEX
#DF1E4D
RGB
rgb(223, 30, 77)
HSL
hsl(345, 76%, 50%)
CMYK
cmyk(0%, 87%, 65%, 13%)
HSV
hsv(345, 87%, 87%)
Color Name
Custom Color
Color Variations
Color Harmonies
Accessibility
WCAG Contrast Ratios
Text on White Background
Sample Text
Contrast Ratio: 4.74:1
Pass - WCAG AA (Normal Text)
Fail - WCAG AAA (Normal Text)
Text on Black Background
Sample Text
Contrast Ratio: 4.43: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: #DF1E4D;
color: #DF1E4D;
border-color: #DF1E4D;
}
Tailwind CSS (with arbitrary values)
bg-[#DF1E4D]
text-[#DF1E4D]
border-[#DF1E4D]
// Example usage:
<div className="bg-[#DF1E4D]">