Hex Color #DB48AB - Custom Color
Color Codes
HEX
#DB48AB
RGB
rgb(219, 72, 171)
HSL
hsl(320, 67%, 57%)
CMYK
cmyk(0%, 67%, 22%, 14%)
HSV
hsv(320, 67%, 86%)
Color Name
Custom Color
Color Variations
Color Harmonies
Accessibility
WCAG Contrast Ratios
Text on White Background
Sample Text
Contrast Ratio: 3.80:1
Fail - WCAG AA (Normal Text)
Fail - WCAG AAA (Normal Text)
Text on Black Background
Sample Text
Contrast Ratio: 5.53: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: #DB48AB;
color: #DB48AB;
border-color: #DB48AB;
}
Tailwind CSS (with arbitrary values)
bg-[#DB48AB]
text-[#DB48AB]
border-[#DB48AB]
// Example usage:
<div className="bg-[#DB48AB]">