Hex Color #C786AA - Custom Color

Color Codes

HEX
#C786AA
RGB
rgb(199, 134, 170)
HSL
hsl(327, 37%, 65%)
CMYK
cmyk(0%, 33%, 15%, 22%)
HSV
hsv(327, 33%, 78%)
Color Name
Custom Color

Color Variations

Color Harmonies

Accessibility

WCAG Contrast Ratios

Text on White Background

Sample Text

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

Text on Black Background

Sample Text

Contrast Ratio: 7.42:1
Pass - WCAG AA (Normal Text)
Pass - 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: #C786AA;
color: #C786AA;
border-color: #C786AA;
}

Tailwind CSS (with arbitrary values)

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