Hex Color #E2728B - Custom Color
Color Codes
HEX
#E2728B
RGB
rgb(226, 114, 139)
HSL
hsl(347, 66%, 67%)
CMYK
cmyk(0%, 50%, 38%, 11%)
HSV
hsv(347, 50%, 89%)
Color Name
Custom Color
Color Variations
Color Harmonies
Accessibility
WCAG Contrast Ratios
Text on White Background
Sample Text
Contrast Ratio: 2.99:1
Fail - WCAG AA (Normal Text)
Fail - WCAG AAA (Normal Text)
Text on Black Background
Sample Text
Contrast Ratio: 7.01:1
Pass - WCAG AA (Normal Text)
Pass - 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: #E2728B;
color: #E2728B;
border-color: #E2728B;
}
Tailwind CSS (with arbitrary values)
bg-[#E2728B]
text-[#E2728B]
border-[#E2728B]
// Example usage:
<div className="bg-[#E2728B]">