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