Hex Color #D721BA - Custom Color
Color Codes
HEX
#D721BA
RGB
rgb(215, 33, 186)
HSL
hsl(310, 73%, 49%)
CMYK
cmyk(0%, 85%, 13%, 16%)
HSV
hsv(310, 85%, 84%)
Color Name
Custom Color
Color Variations
Color Harmonies
Accessibility
WCAG Contrast Ratios
Text on White Background
Sample Text
Contrast Ratio: 4.36:1
Fail - WCAG AA (Normal Text)
Fail - WCAG AAA (Normal Text)
Text on Black Background
Sample Text
Contrast Ratio: 4.82: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: #D721BA;
color: #D721BA;
border-color: #D721BA;
}
Tailwind CSS (with arbitrary values)
bg-[#D721BA]
text-[#D721BA]
border-[#D721BA]
// Example usage:
<div className="bg-[#D721BA]">