Hex Color #DF788A - Custom Color
Color Codes
HEX
#DF788A
RGB
rgb(223, 120, 138)
HSL
hsl(350, 62%, 67%)
CMYK
cmyk(0%, 46%, 38%, 13%)
HSV
hsv(350, 46%, 87%)
Color Name
Custom Color
Color Variations
Color Harmonies
Accessibility
WCAG Contrast Ratios
Text on White Background
Sample Text
Contrast Ratio: 2.92:1
Fail - WCAG AA (Normal Text)
Fail - WCAG AAA (Normal Text)
Text on Black Background
Sample Text
Contrast Ratio: 7.19: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: #DF788A;
color: #DF788A;
border-color: #DF788A;
}
Tailwind CSS (with arbitrary values)
bg-[#DF788A]
text-[#DF788A]
border-[#DF788A]
// Example usage:
<div className="bg-[#DF788A]">