Hex Color #D0CDDE - Custom Color
Color Codes
HEX
#D0CDDE
RGB
rgb(208, 205, 222)
HSL
hsl(251, 20%, 84%)
CMYK
cmyk(6%, 8%, 0%, 13%)
HSV
hsv(251, 8%, 87%)
Color Name
Custom Color
Color Variations
Color Harmonies
Accessibility
WCAG Contrast Ratios
Text on White Background
Sample Text
Contrast Ratio: 1.56:1
Fail - WCAG AA (Normal Text)
Fail - WCAG AAA (Normal Text)
Text on Black Background
Sample Text
Contrast Ratio: 13.47: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: #D0CDDE;
color: #D0CDDE;
border-color: #D0CDDE;
}
Tailwind CSS (with arbitrary values)
bg-[#D0CDDE]
text-[#D0CDDE]
border-[#D0CDDE]
// Example usage:
<div className="bg-[#D0CDDE]">