Hex Color #BA489B - Custom Color

Color Codes

HEX
#BA489B
RGB
rgb(186, 72, 155)
HSL
hsl(316, 45%, 51%)
CMYK
cmyk(0%, 61%, 17%, 27%)
HSV
hsv(316, 61%, 73%)
Color Name
Custom Color

Color Variations

Color Harmonies

Accessibility

WCAG Contrast Ratios

Text on White Background

Sample Text

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

Text on Black Background

Sample Text

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

Tailwind CSS (with arbitrary values)

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