Hex Color #B8506A - Custom Color
Color Codes
HEX
#B8506A
RGB
rgb(184, 80, 106)
HSL
hsl(345, 42%, 52%)
CMYK
cmyk(0%, 57%, 42%, 28%)
HSV
hsv(345, 57%, 72%)
Color Name
Custom Color
Color Variations
Color Harmonies
Accessibility
WCAG Contrast Ratios
Text on White Background
Sample Text
Contrast Ratio: 4.78:1
Pass - WCAG AA (Normal Text)
Fail - WCAG AAA (Normal Text)
Text on Black Background
Sample Text
Contrast Ratio: 4.39: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: #B8506A;
color: #B8506A;
border-color: #B8506A;
}
Tailwind CSS (with arbitrary values)
bg-[#B8506A]
text-[#B8506A]
border-[#B8506A]
// Example usage:
<div className="bg-[#B8506A]">