Hex Color #A70068 - Custom Color

Color Codes

HEX
#A70068
RGB
rgb(167, 0, 104)
HSL
hsl(323, 100%, 33%)
CMYK
cmyk(0%, 100%, 38%, 35%)
HSV
hsv(323, 100%, 65%)
Color Name
Custom Color

Color Variations

Color Harmonies

Accessibility

WCAG Contrast Ratios

Text on White Background

Sample Text

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

Text on Black Background

Sample Text

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

Tailwind CSS (with arbitrary values)

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