Hex Color #B8A2BF - Custom Color
Color Codes
HEX
#B8A2BF
RGB
rgb(184, 162, 191)
HSL
hsl(286, 18%, 69%)
CMYK
cmyk(4%, 15%, 0%, 25%)
HSV
hsv(286, 15%, 75%)
Color Name
Custom Color
Color Variations
Color Harmonies
Accessibility
WCAG Contrast Ratios
Text on White Background
Sample Text
Contrast Ratio: 2.34:1
Fail - WCAG AA (Normal Text)
Fail - WCAG AAA (Normal Text)
Text on Black Background
Sample Text
Contrast Ratio: 8.96:1
Pass - WCAG AA (Normal Text)
Pass - 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: #B8A2BF;
color: #B8A2BF;
border-color: #B8A2BF;
}
Tailwind CSS (with arbitrary values)
bg-[#B8A2BF]
text-[#B8A2BF]
border-[#B8A2BF]
// Example usage:
<div className="bg-[#B8A2BF]">