Hex Color #D4798F - Custom Color
Color Codes
HEX
#D4798F
RGB
rgb(212, 121, 143)
HSL
hsl(345, 51%, 65%)
CMYK
cmyk(0%, 43%, 33%, 17%)
HSV
hsv(345, 43%, 83%)
Color Name
Custom Color
Color Variations
Color Harmonies
Accessibility
WCAG Contrast Ratios
Text on White Background
Sample Text
Contrast Ratio: 3.03:1
Fail - WCAG AA (Normal Text)
Fail - WCAG AAA (Normal Text)
Text on Black Background
Sample Text
Contrast Ratio: 6.93: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: #D4798F;
color: #D4798F;
border-color: #D4798F;
}
Tailwind CSS (with arbitrary values)
bg-[#D4798F]
text-[#D4798F]
border-[#D4798F]
// Example usage:
<div className="bg-[#D4798F]">