Hex Color #D2D4CF - Custom Color
Color Codes
HEX
#D2D4CF
RGB
rgb(210, 212, 207)
HSL
hsl(84, 5%, 82%)
CMYK
cmyk(1%, 0%, 2%, 17%)
HSV
hsv(84, 2%, 83%)
Color Name
Custom Color
Color Variations
Color Harmonies
Accessibility
WCAG Contrast Ratios
Text on White Background
Sample Text
Contrast Ratio: 1.49:1
Fail - WCAG AA (Normal Text)
Fail - WCAG AAA (Normal Text)
Text on Black Background
Sample Text
Contrast Ratio: 14.06: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: #D2D4CF;
color: #D2D4CF;
border-color: #D2D4CF;
}
Tailwind CSS (with arbitrary values)
bg-[#D2D4CF]
text-[#D2D4CF]
border-[#D2D4CF]
// Example usage:
<div className="bg-[#D2D4CF]">