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