Hex Color #DCD5E1 - Custom Color
Color Codes
HEX
#DCD5E1
RGB
rgb(220, 213, 225)
HSL
hsl(275, 17%, 86%)
CMYK
cmyk(2%, 5%, 0%, 12%)
HSV
hsv(275, 5%, 88%)
Color Name
Custom Color
Color Variations
Color Harmonies
Accessibility
WCAG Contrast Ratios
Text on White Background
Sample Text
Contrast Ratio: 1.43:1
Fail - WCAG AA (Normal Text)
Fail - WCAG AAA (Normal Text)
Text on Black Background
Sample Text
Contrast Ratio: 14.65: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: #DCD5E1;
color: #DCD5E1;
border-color: #DCD5E1;
}
Tailwind CSS (with arbitrary values)
bg-[#DCD5E1]
text-[#DCD5E1]
border-[#DCD5E1]
// Example usage:
<div className="bg-[#DCD5E1]">