Hex Color #D397CC - Custom Color

Color Codes

HEX
#D397CC
RGB
rgb(211, 151, 204)
HSL
hsl(307, 41%, 71%)
CMYK
cmyk(0%, 28%, 3%, 17%)
HSV
hsv(307, 28%, 83%)
Color Name
Custom Color

Color Variations

Color Harmonies

Accessibility

WCAG Contrast Ratios

Text on White Background

Sample Text

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

Text on Black Background

Sample Text

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

Tailwind CSS (with arbitrary values)

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