Hex Color #B0516E - Custom Color
Color Codes
HEX
#B0516E
RGB
rgb(176, 81, 110)
HSL
hsl(342, 38%, 50%)
CMYK
cmyk(0%, 54%, 37%, 31%)
HSV
hsv(342, 54%, 69%)
Color Name
Custom Color
Color Variations
Color Harmonies
Accessibility
WCAG Contrast Ratios
Text on White Background
Sample Text
Contrast Ratio: 4.94:1
Pass - WCAG AA (Normal Text)
Fail - WCAG AAA (Normal Text)
Text on Black Background
Sample Text
Contrast Ratio: 4.25: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: #B0516E;
color: #B0516E;
border-color: #B0516E;
}
Tailwind CSS (with arbitrary values)
bg-[#B0516E]
text-[#B0516E]
border-[#B0516E]
// Example usage:
<div className="bg-[#B0516E]">