Hex Color #BE159C - Custom Color
Color Codes
HEX
#BE159C
RGB
rgb(190, 21, 156)
HSL
hsl(312, 80%, 41%)
CMYK
cmyk(0%, 89%, 18%, 25%)
HSV
hsv(312, 89%, 75%)
Color Name
Custom Color
Color Variations
Color Harmonies
Accessibility
WCAG Contrast Ratios
Text on White Background
Sample Text
Contrast Ratio: 5.56:1
Pass - WCAG AA (Normal Text)
Fail - WCAG AAA (Normal Text)
Text on Black Background
Sample Text
Contrast Ratio: 3.78: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: #BE159C;
color: #BE159C;
border-color: #BE159C;
}
Tailwind CSS (with arbitrary values)
bg-[#BE159C]
text-[#BE159C]
border-[#BE159C]
// Example usage:
<div className="bg-[#BE159C]">