Hex Color #B5486C - Custom Color
Color Codes
HEX
#B5486C
RGB
rgb(181, 72, 108)
HSL
hsl(340, 43%, 50%)
CMYK
cmyk(0%, 60%, 40%, 29%)
HSV
hsv(340, 60%, 71%)
Color Name
Custom Color
Color Variations
Color Harmonies
Accessibility
WCAG Contrast Ratios
Text on White Background
Sample Text
Contrast Ratio: 5.11:1
Pass - WCAG AA (Normal Text)
Fail - WCAG AAA (Normal Text)
Text on Black Background
Sample Text
Contrast Ratio: 4.11: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: #B5486C;
color: #B5486C;
border-color: #B5486C;
}
Tailwind CSS (with arbitrary values)
bg-[#B5486C]
text-[#B5486C]
border-[#B5486C]
// Example usage:
<div className="bg-[#B5486C]">