Hex Color #B962A5 - Custom Color
Color Codes
HEX
#B962A5
RGB
rgb(185, 98, 165)
HSL
hsl(314, 38%, 55%)
CMYK
cmyk(0%, 47%, 11%, 27%)
HSV
hsv(314, 47%, 73%)
Color Name
Custom Color
Color Variations
Color Harmonies
Accessibility
WCAG Contrast Ratios
Text on White Background
Sample Text
Contrast Ratio: 3.92:1
Fail - WCAG AA (Normal Text)
Fail - WCAG AAA (Normal Text)
Text on Black Background
Sample Text
Contrast Ratio: 5.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: #B962A5;
color: #B962A5;
border-color: #B962A5;
}
Tailwind CSS (with arbitrary values)
bg-[#B962A5]
text-[#B962A5]
border-[#B962A5]
// Example usage:
<div className="bg-[#B962A5]">