Hex Color #DFCFE6 - Custom Color
Color Codes
HEX
#DFCFE6
RGB
rgb(223, 207, 230)
HSL
hsl(282, 32%, 86%)
CMYK
cmyk(3%, 10%, 0%, 10%)
HSV
hsv(282, 10%, 90%)
Color Name
Custom Color
Color Variations
Color Harmonies
Accessibility
WCAG Contrast Ratios
Text on White Background
Sample Text
Contrast Ratio: 1.48:1
Fail - WCAG AA (Normal Text)
Fail - WCAG AAA (Normal Text)
Text on Black Background
Sample Text
Contrast Ratio: 14.21: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: #DFCFE6;
color: #DFCFE6;
border-color: #DFCFE6;
}
Tailwind CSS (with arbitrary values)
bg-[#DFCFE6]
text-[#DFCFE6]
border-[#DFCFE6]
// Example usage:
<div className="bg-[#DFCFE6]">