Hex Color #C771AE - Custom Color

Color Codes

HEX
#C771AE
RGB
rgb(199, 113, 174)
HSL
hsl(317, 43%, 61%)
CMYK
cmyk(0%, 43%, 13%, 22%)
HSV
hsv(317, 43%, 78%)
Color Name
Custom Color

Color Variations

Color Harmonies

Accessibility

WCAG Contrast Ratios

Text on White Background

Sample Text

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

Text on Black Background

Sample Text

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

Tailwind CSS (with arbitrary values)

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