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