Hex Color #D04BAA - Custom Color

Color Codes

HEX
#D04BAA
RGB
rgb(208, 75, 170)
HSL
hsl(317, 59%, 55%)
CMYK
cmyk(0%, 64%, 18%, 18%)
HSV
hsv(317, 64%, 82%)
Color Name
Custom Color

Color Variations

Color Harmonies

Accessibility

WCAG Contrast Ratios

Text on White Background

Sample Text

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

Text on Black Background

Sample Text

Contrast Ratio: 5.27:1
Pass - WCAG AA (Normal Text)
Fail - 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: #D04BAA;
color: #D04BAA;
border-color: #D04BAA;
}

Tailwind CSS (with arbitrary values)

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