Hex Color #D01BCD - Custom Color
Color Codes
HEX
#D01BCD
RGB
rgb(208, 27, 205)
HSL
hsl(301, 77%, 46%)
CMYK
cmyk(0%, 87%, 1%, 18%)
HSV
hsv(301, 87%, 82%)
Color Name
Custom Color
Color Variations
Color Harmonies
Accessibility
WCAG Contrast Ratios
Text on White Background
Sample Text
Contrast Ratio: 4.45:1
Fail - WCAG AA (Normal Text)
Fail - WCAG AAA (Normal Text)
Text on Black Background
Sample Text
Contrast Ratio: 4.72: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: #D01BCD;
color: #D01BCD;
border-color: #D01BCD;
}
Tailwind CSS (with arbitrary values)
bg-[#D01BCD]
text-[#D01BCD]
border-[#D01BCD]
// Example usage:
<div className="bg-[#D01BCD]">