Hex Color #BD1666 - Custom Color
Color Codes
HEX
#BD1666
RGB
rgb(189, 22, 102)
HSL
hsl(331, 79%, 41%)
CMYK
cmyk(0%, 88%, 46%, 26%)
HSV
hsv(331, 88%, 74%)
Color Name
Custom Color
Color Variations
Color Harmonies
Accessibility
WCAG Contrast Ratios
Text on White Background
Sample Text
Contrast Ratio: 6.05:1
Pass - WCAG AA (Normal Text)
Fail - WCAG AAA (Normal Text)
Text on Black Background
Sample Text
Contrast Ratio: 3.47: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: #BD1666;
color: #BD1666;
border-color: #BD1666;
}
Tailwind CSS (with arbitrary values)
bg-[#BD1666]
text-[#BD1666]
border-[#BD1666]
// Example usage:
<div className="bg-[#BD1666]">