Hex Color #CC6A9D - Custom Color
Color Codes
HEX
#CC6A9D
RGB
rgb(204, 106, 157)
HSL
hsl(329, 49%, 61%)
CMYK
cmyk(0%, 48%, 23%, 20%)
HSV
hsv(329, 48%, 80%)
Color Name
Custom Color
Color Variations
Color Harmonies
Accessibility
WCAG Contrast Ratios
Text on White Background
Sample Text
Contrast Ratio: 3.43:1
Fail - WCAG AA (Normal Text)
Fail - WCAG AAA (Normal Text)
Text on Black Background
Sample Text
Contrast Ratio: 6.12: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: #CC6A9D;
color: #CC6A9D;
border-color: #CC6A9D;
}
Tailwind CSS (with arbitrary values)
bg-[#CC6A9D]
text-[#CC6A9D]
border-[#CC6A9D]
// Example usage:
<div className="bg-[#CC6A9D]">