Hex Color #D9768F - Custom Color
Color Codes
HEX
#D9768F
RGB
rgb(217, 118, 143)
HSL
hsl(345, 57%, 66%)
CMYK
cmyk(0%, 46%, 34%, 15%)
HSV
hsv(345, 46%, 85%)
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.94: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: #D9768F;
color: #D9768F;
border-color: #D9768F;
}
Tailwind CSS (with arbitrary values)
bg-[#D9768F]
text-[#D9768F]
border-[#D9768F]
// Example usage:
<div className="bg-[#D9768F]">