Hex Color #D913CB - Custom Color
Color Codes
HEX
#D913CB
RGB
rgb(217, 19, 203)
HSL
hsl(304, 84%, 46%)
CMYK
cmyk(0%, 91%, 6%, 15%)
HSV
hsv(304, 91%, 85%)
Color Name
Custom Color
Color Variations
Color Harmonies
Accessibility
WCAG Contrast Ratios
Text on White Background
Sample Text
Contrast Ratio: 4.28:1
Fail - WCAG AA (Normal Text)
Fail - WCAG AAA (Normal Text)
Text on Black Background
Sample Text
Contrast Ratio: 4.91: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: #D913CB;
color: #D913CB;
border-color: #D913CB;
}
Tailwind CSS (with arbitrary values)
bg-[#D913CB]
text-[#D913CB]
border-[#D913CB]
// Example usage:
<div className="bg-[#D913CB]">