Hex Color #B42324 - Custom Color
Color Codes
HEX
#B42324
RGB
rgb(180, 35, 36)
HSL
hsl(360, 67%, 42%)
CMYK
cmyk(0%, 81%, 80%, 29%)
HSV
hsv(360, 81%, 71%)
Color Name
Custom Color
Color Variations
Color Harmonies
Accessibility
WCAG Contrast Ratios
Text on White Background
Sample Text
Contrast Ratio: 6.55:1
Pass - WCAG AA (Normal Text)
Fail - WCAG AAA (Normal Text)
Text on Black Background
Sample Text
Contrast Ratio: 3.21: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: #B42324;
color: #B42324;
border-color: #B42324;
}
Tailwind CSS (with arbitrary values)
bg-[#B42324]
text-[#B42324]
border-[#B42324]
// Example usage:
<div className="bg-[#B42324]">