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