Hex Color #BA075C - Custom Color

Color Codes

HEX
#BA075C
RGB
rgb(186, 7, 92)
HSL
hsl(332, 93%, 38%)
CMYK
cmyk(0%, 96%, 51%, 27%)
HSV
hsv(332, 96%, 73%)
Color Name
Custom Color

Color Variations

Color Harmonies

Accessibility

WCAG Contrast Ratios

Text on White Background

Sample Text

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

Text on Black Background

Sample Text

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

Tailwind CSS (with arbitrary values)

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