Hex Color #D895CC - Custom Color

Color Codes

HEX
#D895CC
RGB
rgb(216, 149, 204)
HSL
hsl(311, 46%, 72%)
CMYK
cmyk(0%, 31%, 6%, 15%)
HSV
hsv(311, 31%, 85%)
Color Name
Custom Color

Color Variations

Color Harmonies

Accessibility

WCAG Contrast Ratios

Text on White Background

Sample Text

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

Text on Black Background

Sample Text

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

Tailwind CSS (with arbitrary values)

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