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