Hex Color #D4CFD4 - Custom Color

Color Codes

HEX
#D4CFD4
RGB
rgb(212, 207, 212)
HSL
hsl(300, 5%, 82%)
CMYK
cmyk(0%, 2%, 0%, 17%)
HSV
hsv(300, 2%, 83%)
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.68: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: #D4CFD4;
color: #D4CFD4;
border-color: #D4CFD4;
}

Tailwind CSS (with arbitrary values)

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