Hex Color #787072 - Custom Color
Color Codes
HEX
#787072
RGB
rgb(120, 112, 114)
HSL
hsl(345, 3%, 45%)
CMYK
cmyk(0%, 7%, 5%, 53%)
HSV
hsv(345, 7%, 47%)
Color Name
Custom Color
Color Variations
Color Harmonies
Accessibility
WCAG Contrast Ratios
Text on White Background
Sample Text
Contrast Ratio: 4.82:1
Pass - WCAG AA (Normal Text)
Fail - WCAG AAA (Normal Text)
Text on Black Background
Sample Text
Contrast Ratio: 4.36: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: #787072;
color: #787072;
border-color: #787072;
}
Tailwind CSS (with arbitrary values)
bg-[#787072]
text-[#787072]
border-[#787072]
// Example usage:
<div className="bg-[#787072]">