Hex Color #DF4A9F - Custom Color
Color Codes
HEX
#DF4A9F
RGB
rgb(223, 74, 159)
HSL
hsl(326, 70%, 58%)
CMYK
cmyk(0%, 67%, 29%, 13%)
HSV
hsv(326, 67%, 87%)
Color Name
Custom Color
Color Variations
Color Harmonies
Accessibility
WCAG Contrast Ratios
Text on White Background
Sample Text
Contrast Ratio: 3.74:1
Fail - WCAG AA (Normal Text)
Fail - WCAG AAA (Normal Text)
Text on Black Background
Sample Text
Contrast Ratio: 5.62: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: #DF4A9F;
color: #DF4A9F;
border-color: #DF4A9F;
}
Tailwind CSS (with arbitrary values)
bg-[#DF4A9F]
text-[#DF4A9F]
border-[#DF4A9F]
// Example usage:
<div className="bg-[#DF4A9F]">