Hex Color #A3131D - Custom Color
Color Codes
HEX
#A3131D
RGB
rgb(163, 19, 29)
HSL
hsl(356, 79%, 36%)
CMYK
cmyk(0%, 88%, 82%, 36%)
HSV
hsv(356, 88%, 64%)
Color Name
Custom Color
Color Variations
Color Harmonies
Accessibility
WCAG Contrast Ratios
Text on White Background
Sample Text
Contrast Ratio: 7.87:1
Pass - WCAG AA (Normal Text)
Pass - WCAG AAA (Normal Text)
Text on Black Background
Sample Text
Contrast Ratio: 2.67: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: #A3131D;
color: #A3131D;
border-color: #A3131D;
}
Tailwind CSS (with arbitrary values)
bg-[#A3131D]
text-[#A3131D]
border-[#A3131D]
// Example usage:
<div className="bg-[#A3131D]">