Hex Color #BB146F - Custom Color
Color Codes
HEX
#BB146F
RGB
rgb(187, 20, 111)
HSL
hsl(327, 81%, 41%)
CMYK
cmyk(0%, 89%, 41%, 27%)
HSV
hsv(327, 89%, 73%)
Color Name
Custom Color
Color Variations
Color Harmonies
Accessibility
WCAG Contrast Ratios
Text on White Background
Sample Text
Contrast Ratio: 6.10:1
Pass - WCAG AA (Normal Text)
Fail - WCAG AAA (Normal Text)
Text on Black Background
Sample Text
Contrast Ratio: 3.44: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: #BB146F;
color: #BB146F;
border-color: #BB146F;
}
Tailwind CSS (with arbitrary values)
bg-[#BB146F]
text-[#BB146F]
border-[#BB146F]
// Example usage:
<div className="bg-[#BB146F]">