Hex Color #BA3986 - Custom Color

Color Codes

HEX
#BA3986
RGB
rgb(186, 57, 134)
HSL
hsl(324, 53%, 48%)
CMYK
cmyk(0%, 69%, 28%, 27%)
HSV
hsv(324, 69%, 73%)
Color Name
Custom Color

Color Variations

Color Harmonies

Accessibility

WCAG Contrast Ratios

Text on White Background

Sample Text

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

Text on Black Background

Sample Text

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

Tailwind CSS (with arbitrary values)

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