Hex Color #795276 - Custom Color
Color Codes
HEX
#795276
RGB
rgb(121, 82, 118)
HSL
hsl(305, 19%, 40%)
CMYK
cmyk(0%, 32%, 2%, 53%)
HSV
hsv(305, 32%, 47%)
Color Name
Custom Color
Color Variations
Color Harmonies
Accessibility
WCAG Contrast Ratios
Text on White Background
Sample Text
Contrast Ratio: 6.40:1
Pass - WCAG AA (Normal Text)
Fail - WCAG AAA (Normal Text)
Text on Black Background
Sample Text
Contrast Ratio: 3.28: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: #795276;
color: #795276;
border-color: #795276;
}
Tailwind CSS (with arbitrary values)
bg-[#795276]
text-[#795276]
border-[#795276]
// Example usage:
<div className="bg-[#795276]">