Hex Color #D4CECF - Custom Color

Color Codes

HEX
#D4CECF
RGB
rgb(212, 206, 207)
HSL
hsl(350, 7%, 82%)
CMYK
cmyk(0%, 3%, 2%, 17%)
HSV
hsv(350, 3%, 83%)
Color Name
Custom Color

Color Variations

Color Harmonies

Accessibility

WCAG Contrast Ratios

Text on White Background

Sample Text

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

Text on Black Background

Sample Text

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

Tailwind CSS (with arbitrary values)

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