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