Hex Color #A4788A - Custom Color

Color Codes

HEX
#A4788A
RGB
rgb(164, 120, 138)
HSL
hsl(335, 19%, 56%)
CMYK
cmyk(0%, 27%, 16%, 36%)
HSV
hsv(335, 27%, 64%)
Color Name
Custom Color

Color Variations

Color Harmonies

Accessibility

WCAG Contrast Ratios

Text on White Background

Sample Text

Contrast Ratio: 3.73:1
Fail - WCAG AA (Normal Text)
Fail - WCAG AAA (Normal Text)

Text on Black Background

Sample Text

Contrast Ratio: 5.63: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: #A4788A;
color: #A4788A;
border-color: #A4788A;
}

Tailwind CSS (with arbitrary values)

bg-[#A4788A]
text-[#A4788A]
border-[#A4788A]
// Example usage:
<div className="bg-[#A4788A]">