Hex Color #BD4A7F - Custom Color

Color Codes

HEX
#BD4A7F
RGB
rgb(189, 74, 127)
HSL
hsl(332, 47%, 52%)
CMYK
cmyk(0%, 61%, 33%, 26%)
HSV
hsv(332, 61%, 74%)
Color Name
Custom Color

Color Variations

Color Harmonies

Accessibility

WCAG Contrast Ratios

Text on White Background

Sample Text

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

Text on Black Background

Sample Text

Contrast Ratio: 4.45:1
Fail - 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: #BD4A7F;
color: #BD4A7F;
border-color: #BD4A7F;
}

Tailwind CSS (with arbitrary values)

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