Hex Color #C7628B - Custom Color
Color Codes
HEX
#C7628B
RGB
rgb(199, 98, 139)
HSL
hsl(336, 47%, 58%)
CMYK
cmyk(0%, 51%, 30%, 22%)
HSV
hsv(336, 51%, 78%)
Color Name
Custom Color
Color Variations
Color Harmonies
Accessibility
WCAG Contrast Ratios
Text on White Background
Sample Text
Contrast Ratio: 3.78:1
Fail - WCAG AA (Normal Text)
Fail - WCAG AAA (Normal Text)
Text on Black Background
Sample Text
Contrast Ratio: 5.55: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: #C7628B;
color: #C7628B;
border-color: #C7628B;
}
Tailwind CSS (with arbitrary values)
bg-[#C7628B]
text-[#C7628B]
border-[#C7628B]
// Example usage:
<div className="bg-[#C7628B]">