Hex Color #D9799B - Custom Color
Color Codes
HEX
#D9799B
RGB
rgb(217, 121, 155)
HSL
hsl(339, 56%, 66%)
CMYK
cmyk(0%, 44%, 29%, 15%)
HSV
hsv(339, 44%, 85%)
Color Name
Custom Color
Color Variations
Color Harmonies
Accessibility
WCAG Contrast Ratios
Text on White Background
Sample Text
Contrast Ratio: 2.93:1
Fail - WCAG AA (Normal Text)
Fail - WCAG AAA (Normal Text)
Text on Black Background
Sample Text
Contrast Ratio: 7.16: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: #D9799B;
color: #D9799B;
border-color: #D9799B;
}
Tailwind CSS (with arbitrary values)
bg-[#D9799B]
text-[#D9799B]
border-[#D9799B]
// Example usage:
<div className="bg-[#D9799B]">