Hex Color #A24E87 - Custom Color

Color Codes

HEX
#A24E87
RGB
rgb(162, 78, 135)
HSL
hsl(319, 35%, 47%)
CMYK
cmyk(0%, 52%, 17%, 36%)
HSV
hsv(319, 52%, 64%)
Color Name
Custom Color

Color Variations

Color Harmonies

Accessibility

WCAG Contrast Ratios

Text on White Background

Sample Text

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

Text on Black Background

Sample Text

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

Tailwind CSS (with arbitrary values)

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