Hex Color #CB417A - Custom Color
Color Codes
HEX
#CB417A
RGB
rgb(203, 65, 122)
HSL
hsl(335, 57%, 53%)
CMYK
cmyk(0%, 68%, 40%, 20%)
HSV
hsv(335, 68%, 80%)
Color Name
Custom Color
Color Variations
Color Harmonies
Accessibility
WCAG Contrast Ratios
Text on White Background
Sample Text
Contrast Ratio: 4.59:1
Pass - WCAG AA (Normal Text)
Fail - WCAG AAA (Normal Text)
Text on Black Background
Sample Text
Contrast Ratio: 4.58: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: #CB417A;
color: #CB417A;
border-color: #CB417A;
}
Tailwind CSS (with arbitrary values)
bg-[#CB417A]
text-[#CB417A]
border-[#CB417A]
// Example usage:
<div className="bg-[#CB417A]">