Hex Color #BC2797 - Custom Color
Color Codes
HEX
#BC2797
RGB
rgb(188, 39, 151)
HSL
hsl(315, 66%, 45%)
CMYK
cmyk(0%, 79%, 20%, 26%)
HSV
hsv(315, 79%, 74%)
Color Name
Custom Color
Color Variations
Color Harmonies
Accessibility
WCAG Contrast Ratios
Text on White Background
Sample Text
Contrast Ratio: 5.42:1
Pass - WCAG AA (Normal Text)
Fail - WCAG AAA (Normal Text)
Text on Black Background
Sample Text
Contrast Ratio: 3.88: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: #BC2797;
color: #BC2797;
border-color: #BC2797;
}
Tailwind CSS (with arbitrary values)
bg-[#BC2797]
text-[#BC2797]
border-[#BC2797]
// Example usage:
<div className="bg-[#BC2797]">