Hex Color #CF167A - Custom Color

Color Codes

HEX
#CF167A
RGB
rgb(207, 22, 122)
HSL
hsl(328, 81%, 45%)
CMYK
cmyk(0%, 89%, 41%, 19%)
HSV
hsv(328, 89%, 81%)
Color Name
Custom Color

Color Variations

Color Harmonies

Accessibility

WCAG Contrast Ratios

Text on White Background

Sample Text

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

Text on Black Background

Sample Text

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

Tailwind CSS (with arbitrary values)

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