Hex Color #B61997 - Custom Color
Color Codes
HEX
#B61997
RGB
rgb(182, 25, 151)
HSL
hsl(312, 76%, 41%)
CMYK
cmyk(0%, 86%, 17%, 29%)
HSV
hsv(312, 86%, 71%)
Color Name
Custom Color
Color Variations
Color Harmonies
Accessibility
WCAG Contrast Ratios
Text on White Background
Sample Text
Contrast Ratio: 5.87:1
Pass - WCAG AA (Normal Text)
Fail - WCAG AAA (Normal Text)
Text on Black Background
Sample Text
Contrast Ratio: 3.57:1
Fail - 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: #B61997;
color: #B61997;
border-color: #B61997;
}
Tailwind CSS (with arbitrary values)
bg-[#B61997]
text-[#B61997]
border-[#B61997]
// Example usage:
<div className="bg-[#B61997]">