Hex Color #BC4A9C - Custom Color
Color Codes
HEX
#BC4A9C
RGB
rgb(188, 74, 156)
HSL
hsl(317, 46%, 51%)
CMYK
cmyk(0%, 61%, 17%, 26%)
HSV
hsv(317, 61%, 74%)
Color Name
Custom Color
Color Variations
Color Harmonies
Accessibility
WCAG Contrast Ratios
Text on White Background
Sample Text
Contrast Ratio: 4.57:1
Pass - WCAG AA (Normal Text)
Fail - WCAG AAA (Normal Text)
Text on Black Background
Sample Text
Contrast Ratio: 4.60: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: #BC4A9C;
color: #BC4A9C;
border-color: #BC4A9C;
}
Tailwind CSS (with arbitrary values)
bg-[#BC4A9C]
text-[#BC4A9C]
border-[#BC4A9C]
// Example usage:
<div className="bg-[#BC4A9C]">