Hex Color #B54A5F - Custom Color
Color Codes
HEX
#B54A5F
RGB
rgb(181, 74, 95)
HSL
hsl(348, 42%, 50%)
CMYK
cmyk(0%, 59%, 48%, 29%)
HSV
hsv(348, 59%, 71%)
Color Name
Custom Color
Color Variations
Color Harmonies
Accessibility
WCAG Contrast Ratios
Text on White Background
Sample Text
Contrast Ratio: 5.11:1
Pass - WCAG AA (Normal Text)
Fail - WCAG AAA (Normal Text)
Text on Black Background
Sample Text
Contrast Ratio: 4.11: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: #B54A5F;
color: #B54A5F;
border-color: #B54A5F;
}
Tailwind CSS (with arbitrary values)
bg-[#B54A5F]
text-[#B54A5F]
border-[#B54A5F]
// Example usage:
<div className="bg-[#B54A5F]">