Hex Color #B1879B - Custom Color
Color Codes
HEX
#B1879B
RGB
rgb(177, 135, 155)
HSL
hsl(331, 21%, 61%)
CMYK
cmyk(0%, 24%, 12%, 31%)
HSV
hsv(331, 24%, 69%)
Color Name
Custom Color
Color Variations
Color Harmonies
Accessibility
WCAG Contrast Ratios
Text on White Background
Sample Text
Contrast Ratio: 3.08:1
Fail - WCAG AA (Normal Text)
Fail - WCAG AAA (Normal Text)
Text on Black Background
Sample Text
Contrast Ratio: 6.81:1
Pass - 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: #B1879B;
color: #B1879B;
border-color: #B1879B;
}
Tailwind CSS (with arbitrary values)
bg-[#B1879B]
text-[#B1879B]
border-[#B1879B]
// Example usage:
<div className="bg-[#B1879B]">