Hex Color #CC5285 - Custom Color
Color Codes
HEX
#CC5285
RGB
rgb(204, 82, 133)
HSL
hsl(335, 54%, 56%)
CMYK
cmyk(0%, 60%, 35%, 20%)
HSV
hsv(335, 60%, 80%)
Color Name
Custom Color
Color Variations
Color Harmonies
Accessibility
WCAG Contrast Ratios
Text on White Background
Sample Text
Contrast Ratio: 4.11:1
Fail - WCAG AA (Normal Text)
Fail - WCAG AAA (Normal Text)
Text on Black Background
Sample Text
Contrast Ratio: 5.11: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: #CC5285;
color: #CC5285;
border-color: #CC5285;
}
Tailwind CSS (with arbitrary values)
bg-[#CC5285]
text-[#CC5285]
border-[#CC5285]
// Example usage:
<div className="bg-[#CC5285]">