Hex Color #DE8FAC - Custom Color
Color Codes
HEX
#DE8FAC
RGB
rgb(222, 143, 172)
HSL
hsl(338, 54%, 72%)
CMYK
cmyk(0%, 36%, 23%, 13%)
HSV
hsv(338, 36%, 87%)
Color Name
Custom Color
Color Variations
Color Harmonies
Accessibility
WCAG Contrast Ratios
Text on White Background
Sample Text
Contrast Ratio: 2.43:1
Fail - WCAG AA (Normal Text)
Fail - WCAG AAA (Normal Text)
Text on Black Background
Sample Text
Contrast Ratio: 8.63: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: #DE8FAC;
color: #DE8FAC;
border-color: #DE8FAC;
}
Tailwind CSS (with arbitrary values)
bg-[#DE8FAC]
text-[#DE8FAC]
border-[#DE8FAC]
// Example usage:
<div className="bg-[#DE8FAC]">