Hex Color #D4A7AF - Custom Color

Color Codes

HEX
#D4A7AF
RGB
rgb(212, 167, 175)
HSL
hsl(349, 34%, 74%)
CMYK
cmyk(0%, 21%, 17%, 17%)
HSV
hsv(349, 21%, 83%)
Color Name
Custom Color

Color Variations

Color Harmonies

Accessibility

WCAG Contrast Ratios

Text on White Background

Sample Text

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

Text on Black Background

Sample Text

Contrast Ratio: 9.95:1
Pass - WCAG AA (Normal Text)
Pass - WCAG AAA (Normal Text)

Recommended Text Color

For best readability on this background color, use white text.

Similar Colors

Color in Use

Card with colored border

Background with 20% opacity

CSS Code

.element {
background-color: #D4A7AF;
color: #D4A7AF;
border-color: #D4A7AF;
}

Tailwind CSS (with arbitrary values)

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