Hex Color #D7879B - Custom Color
Color Codes
HEX
#D7879B
RGB
rgb(215, 135, 155)
HSL
hsl(345, 50%, 69%)
CMYK
cmyk(0%, 37%, 28%, 16%)
HSV
hsv(345, 37%, 84%)
Color Name
Custom Color
Color Variations
Color Harmonies
Accessibility
WCAG Contrast Ratios
Text on White Background
Sample Text
Contrast Ratio: 2.68:1
Fail - WCAG AA (Normal Text)
Fail - WCAG AAA (Normal Text)
Text on Black Background
Sample Text
Contrast Ratio: 7.83: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: #D7879B;
color: #D7879B;
border-color: #D7879B;
}
Tailwind CSS (with arbitrary values)
bg-[#D7879B]
text-[#D7879B]
border-[#D7879B]
// Example usage:
<div className="bg-[#D7879B]">