Hex Color #787285 - Custom Color
Color Codes
HEX
#787285
RGB
rgb(120, 114, 133)
HSL
hsl(259, 8%, 48%)
CMYK
cmyk(10%, 14%, 0%, 48%)
HSV
hsv(259, 14%, 52%)
Color Name
Custom Color
Color Variations
Color Harmonies
Accessibility
WCAG Contrast Ratios
Text on White Background
Sample Text
Contrast Ratio: 4.62:1
Pass - WCAG AA (Normal Text)
Fail - WCAG AAA (Normal Text)
Text on Black Background
Sample Text
Contrast Ratio: 4.54:1
Pass - 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: #787285;
color: #787285;
border-color: #787285;
}
Tailwind CSS (with arbitrary values)
bg-[#787285]
text-[#787285]
border-[#787285]
// Example usage:
<div className="bg-[#787285]">