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