Hex Color #CC7BAF - Custom Color
Color Codes
HEX
#CC7BAF
RGB
rgb(204, 123, 175)
HSL
hsl(321, 44%, 64%)
CMYK
cmyk(0%, 40%, 14%, 20%)
HSV
hsv(321, 40%, 80%)
Color Name
Custom Color
Color Variations
Color Harmonies
Accessibility
WCAG Contrast Ratios
Text on White Background
Sample Text
Contrast Ratio: 2.99:1
Fail - WCAG AA (Normal Text)
Fail - WCAG AAA (Normal Text)
Text on Black Background
Sample Text
Contrast Ratio: 7.02: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: #CC7BAF;
color: #CC7BAF;
border-color: #CC7BAF;
}
Tailwind CSS (with arbitrary values)
bg-[#CC7BAF]
text-[#CC7BAF]
border-[#CC7BAF]
// Example usage:
<div className="bg-[#CC7BAF]">