Hex Color #D7CECD - Custom Color

Color Codes

HEX
#D7CECD
RGB
rgb(215, 206, 205)
HSL
hsl(6, 11%, 82%)
CMYK
cmyk(0%, 4%, 5%, 16%)
HSV
hsv(6, 5%, 84%)
Color Name
Custom Color

Color Variations

Color Harmonies

Accessibility

WCAG Contrast Ratios

Text on White Background

Sample Text

Contrast Ratio: 1.54:1
Fail - WCAG AA (Normal Text)
Fail - WCAG AAA (Normal Text)

Text on Black Background

Sample Text

Contrast Ratio: 13.60: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: #D7CECD;
color: #D7CECD;
border-color: #D7CECD;
}

Tailwind CSS (with arbitrary values)

bg-[#D7CECD]
text-[#D7CECD]
border-[#D7CECD]
// Example usage:
<div className="bg-[#D7CECD]">