Hex Color #DCC2DF - Custom Color
Color Codes
HEX
#DCC2DF
RGB
rgb(220, 194, 223)
HSL
hsl(294, 31%, 82%)
CMYK
cmyk(1%, 13%, 0%, 13%)
HSV
hsv(294, 13%, 87%)
Color Name
Custom Color
Color Variations
Color Harmonies
Accessibility
WCAG Contrast Ratios
Text on White Background
Sample Text
Contrast Ratio: 1.64:1
Fail - WCAG AA (Normal Text)
Fail - WCAG AAA (Normal Text)
Text on Black Background
Sample Text
Contrast Ratio: 12.83:1
Pass - WCAG AA (Normal Text)
Pass - WCAG AAA (Normal Text)
Recommended Text Color
For best readability on this background color, use black text.
Similar Colors
Color in Use
Card with colored border
Background with 20% opacity
CSS Code
.element {
background-color: #DCC2DF;
color: #DCC2DF;
border-color: #DCC2DF;
}
Tailwind CSS (with arbitrary values)
bg-[#DCC2DF]
text-[#DCC2DF]
border-[#DCC2DF]
// Example usage:
<div className="bg-[#DCC2DF]">