Hex Color #50645A - Custom Color
Color Codes
HEX
#50645A
RGB
rgb(80, 100, 90)
HSL
hsl(150, 11%, 35%)
CMYK
cmyk(20%, 0%, 10%, 61%)
HSV
hsv(150, 20%, 39%)
Color Name
Custom Color
Color Variations
Color Harmonies
Accessibility
WCAG Contrast Ratios
Text on White Background
Sample Text
Contrast Ratio: 6.34:1
Pass - WCAG AA (Normal Text)
Fail - WCAG AAA (Normal Text)
Text on Black Background
Sample Text
Contrast Ratio: 3.31: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: #50645A;
color: #50645A;
border-color: #50645A;
}
Tailwind CSS (with arbitrary values)
bg-[#50645A]
text-[#50645A]
border-[#50645A]
// Example usage:
<div className="bg-[#50645A]">