Hex Color #874462 - Custom Color
Color Codes
HEX
#874462
RGB
rgb(135, 68, 98)
HSL
hsl(333, 33%, 40%)
CMYK
cmyk(0%, 50%, 27%, 47%)
HSV
hsv(333, 50%, 53%)
Color Name
Custom Color
Color Variations
Color Harmonies
Accessibility
WCAG Contrast Ratios
Text on White Background
Sample Text
Contrast Ratio: 6.92:1
Pass - WCAG AA (Normal Text)
Fail - WCAG AAA (Normal Text)
Text on Black Background
Sample Text
Contrast Ratio: 3.03: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: #874462;
color: #874462;
border-color: #874462;
}
Tailwind CSS (with arbitrary values)
bg-[#874462]
text-[#874462]
border-[#874462]
// Example usage:
<div className="bg-[#874462]">