Hex Color #DF397A - Custom Color
Color Codes
HEX
#DF397A
RGB
rgb(223, 57, 122)
HSL
hsl(337, 72%, 55%)
CMYK
cmyk(0%, 74%, 45%, 13%)
HSV
hsv(337, 74%, 87%)
Color Name
Custom Color
Color Variations
Color Harmonies
Accessibility
WCAG Contrast Ratios
Text on White Background
Sample Text
Contrast Ratio: 4.20:1
Fail - WCAG AA (Normal Text)
Fail - WCAG AAA (Normal Text)
Text on Black Background
Sample Text
Contrast Ratio: 5.00: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: #DF397A;
color: #DF397A;
border-color: #DF397A;
}
Tailwind CSS (with arbitrary values)
bg-[#DF397A]
text-[#DF397A]
border-[#DF397A]
// Example usage:
<div className="bg-[#DF397A]">