Hex Color #B51B0A - Custom Color
Color Codes
HEX
#B51B0A
RGB
rgb(181, 27, 10)
HSL
hsl(6, 90%, 37%)
CMYK
cmyk(0%, 85%, 94%, 29%)
HSV
hsv(6, 94%, 71%)
Color Name
Custom Color
Color Variations
Color Harmonies
Accessibility
WCAG Contrast Ratios
Text on White Background
Sample Text
Contrast Ratio: 6.72:1
Pass - WCAG AA (Normal Text)
Fail - WCAG AAA (Normal Text)
Text on Black Background
Sample Text
Contrast Ratio: 3.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: #B51B0A;
color: #B51B0A;
border-color: #B51B0A;
}
Tailwind CSS (with arbitrary values)
bg-[#B51B0A]
text-[#B51B0A]
border-[#B51B0A]
// Example usage:
<div className="bg-[#B51B0A]">