Hex Color #D8708B - Custom Color
Color Codes
HEX
#D8708B
RGB
rgb(216, 112, 139)
HSL
hsl(344, 57%, 64%)
CMYK
cmyk(0%, 48%, 36%, 15%)
HSV
hsv(344, 48%, 85%)
Color Name
Custom Color
Color Variations
Color Harmonies
Accessibility
WCAG Contrast Ratios
Text on White Background
Sample Text
Contrast Ratio: 3.18:1
Fail - WCAG AA (Normal Text)
Fail - WCAG AAA (Normal Text)
Text on Black Background
Sample Text
Contrast Ratio: 6.61: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: #D8708B;
color: #D8708B;
border-color: #D8708B;
}
Tailwind CSS (with arbitrary values)
bg-[#D8708B]
text-[#D8708B]
border-[#D8708B]
// Example usage:
<div className="bg-[#D8708B]">