Hex Color #B58FAF - Custom Color
Color Codes
HEX
#B58FAF
RGB
rgb(181, 143, 175)
HSL
hsl(309, 20%, 64%)
CMYK
cmyk(0%, 21%, 3%, 29%)
HSV
hsv(309, 21%, 71%)
Color Name
Custom Color
Color Variations
Color Harmonies
Accessibility
WCAG Contrast Ratios
Text on White Background
Sample Text
Contrast Ratio: 2.80:1
Fail - WCAG AA (Normal Text)
Fail - WCAG AAA (Normal Text)
Text on Black Background
Sample Text
Contrast Ratio: 7.51: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: #B58FAF;
color: #B58FAF;
border-color: #B58FAF;
}
Tailwind CSS (with arbitrary values)
bg-[#B58FAF]
text-[#B58FAF]
border-[#B58FAF]
// Example usage:
<div className="bg-[#B58FAF]">