Hex Color #CB4F7B - Custom Color
Color Codes
HEX
#CB4F7B
RGB
rgb(203, 79, 123)
HSL
hsl(339, 54%, 55%)
CMYK
cmyk(0%, 61%, 39%, 20%)
HSV
hsv(339, 61%, 80%)
Color Name
Custom Color
Color Variations
Color Harmonies
Accessibility
WCAG Contrast Ratios
Text on White Background
Sample Text
Contrast Ratio: 4.25:1
Fail - WCAG AA (Normal Text)
Fail - WCAG AAA (Normal Text)
Text on Black Background
Sample Text
Contrast Ratio: 4.94: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: #CB4F7B;
color: #CB4F7B;
border-color: #CB4F7B;
}
Tailwind CSS (with arbitrary values)
bg-[#CB4F7B]
text-[#CB4F7B]
border-[#CB4F7B]
// Example usage:
<div className="bg-[#CB4F7B]">