Hex Color #B31645 - Custom Color
Color Codes
HEX
#B31645
RGB
rgb(179, 22, 69)
HSL
hsl(342, 78%, 39%)
CMYK
cmyk(0%, 88%, 61%, 30%)
HSV
hsv(342, 88%, 70%)
Color Name
Custom Color
Color Variations
Color Harmonies
Accessibility
WCAG Contrast Ratios
Text on White Background
Sample Text
Contrast Ratio: 6.74:1
Pass - WCAG AA (Normal Text)
Fail - WCAG AAA (Normal Text)
Text on Black Background
Sample Text
Contrast Ratio: 3.12: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: #B31645;
color: #B31645;
border-color: #B31645;
}
Tailwind CSS (with arbitrary values)
bg-[#B31645]
text-[#B31645]
border-[#B31645]
// Example usage:
<div className="bg-[#B31645]">