Hex Color #B74189 - Custom Color
Color Codes
HEX
#B74189
RGB
rgb(183, 65, 137)
HSL
hsl(323, 48%, 49%)
CMYK
cmyk(0%, 64%, 25%, 28%)
HSV
hsv(323, 64%, 72%)
Color Name
Custom Color
Color Variations
Color Harmonies
Accessibility
WCAG Contrast Ratios
Text on White Background
Sample Text
Contrast Ratio: 5.08:1
Pass - WCAG AA (Normal Text)
Fail - WCAG AAA (Normal Text)
Text on Black Background
Sample Text
Contrast Ratio: 4.13: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: #B74189;
color: #B74189;
border-color: #B74189;
}
Tailwind CSS (with arbitrary values)
bg-[#B74189]
text-[#B74189]
border-[#B74189]
// Example usage:
<div className="bg-[#B74189]">