Hex Color #CDAF9E - Custom Color

Color Codes

HEX
#CDAF9E
RGB
rgb(205, 175, 158)
HSL
hsl(22, 32%, 71%)
CMYK
cmyk(0%, 15%, 23%, 20%)
HSV
hsv(22, 23%, 80%)
Color Name
Custom Color

Color Variations

Color Harmonies

Accessibility

WCAG Contrast Ratios

Text on White Background

Sample Text

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

Text on Black Background

Sample Text

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

Tailwind CSS (with arbitrary values)

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