Hex Color #B97DAA - Custom Color
Color Codes
HEX
#B97DAA
RGB
rgb(185, 125, 170)
HSL
hsl(315, 30%, 61%)
CMYK
cmyk(0%, 32%, 8%, 27%)
HSV
hsv(315, 32%, 73%)
Color Name
Custom Color
Color Variations
Color Harmonies
Accessibility
WCAG Contrast Ratios
Text on White Background
Sample Text
Contrast Ratio: 3.19:1
Fail - WCAG AA (Normal Text)
Fail - WCAG AAA (Normal Text)
Text on Black Background
Sample Text
Contrast Ratio: 6.58: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: #B97DAA;
color: #B97DAA;
border-color: #B97DAA;
}
Tailwind CSS (with arbitrary values)
bg-[#B97DAA]
text-[#B97DAA]
border-[#B97DAA]
// Example usage:
<div className="bg-[#B97DAA]">