Hex Color #B01CA8 - Custom Color
Color Codes
HEX
#B01CA8
RGB
rgb(176, 28, 168)
HSL
hsl(303, 73%, 40%)
CMYK
cmyk(0%, 84%, 5%, 31%)
HSV
hsv(303, 84%, 69%)
Color Name
Custom Color
Color Variations
Color Harmonies
Accessibility
WCAG Contrast Ratios
Text on White Background
Sample Text
Contrast Ratio: 5.87:1
Pass - WCAG AA (Normal Text)
Fail - WCAG AAA (Normal Text)
Text on Black Background
Sample Text
Contrast Ratio: 3.58:1
Fail - 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: #B01CA8;
color: #B01CA8;
border-color: #B01CA8;
}
Tailwind CSS (with arbitrary values)
bg-[#B01CA8]
text-[#B01CA8]
border-[#B01CA8]
// Example usage:
<div className="bg-[#B01CA8]">