Hex Color #A66178 - Custom Color

Color Codes

HEX
#A66178
RGB
rgb(166, 97, 120)
HSL
hsl(340, 28%, 52%)
CMYK
cmyk(0%, 42%, 28%, 35%)
HSV
hsv(340, 42%, 65%)
Color Name
Custom Color

Color Variations

Color Harmonies

Accessibility

WCAG Contrast Ratios

Text on White Background

Sample Text

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

Text on Black Background

Sample Text

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

Tailwind CSS (with arbitrary values)

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