Hex Color #DFA5CE - Custom Color
Color Codes
HEX
#DFA5CE
RGB
rgb(223, 165, 206)
HSL
hsl(318, 48%, 76%)
CMYK
cmyk(0%, 26%, 8%, 13%)
HSV
hsv(318, 26%, 87%)
Color Name
Custom Color
Color Variations
Color Harmonies
Accessibility
WCAG Contrast Ratios
Text on White Background
Sample Text
Contrast Ratio: 2.02:1
Fail - WCAG AA (Normal Text)
Fail - WCAG AAA (Normal Text)
Text on Black Background
Sample Text
Contrast Ratio: 10.41: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: #DFA5CE;
color: #DFA5CE;
border-color: #DFA5CE;
}
Tailwind CSS (with arbitrary values)
bg-[#DFA5CE]
text-[#DFA5CE]
border-[#DFA5CE]
// Example usage:
<div className="bg-[#DFA5CE]">