Hex Color #CC98BA - Custom Color

Color Codes

HEX
#CC98BA
RGB
rgb(204, 152, 186)
HSL
hsl(321, 34%, 70%)
CMYK
cmyk(0%, 25%, 9%, 20%)
HSV
hsv(321, 25%, 80%)
Color Name
Custom Color

Color Variations

Color Harmonies

Accessibility

WCAG Contrast Ratios

Text on White Background

Sample Text

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

Text on Black Background

Sample Text

Contrast Ratio: 8.77:1
Pass - WCAG AA (Normal Text)
Pass - 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: #CC98BA;
color: #CC98BA;
border-color: #CC98BA;
}

Tailwind CSS (with arbitrary values)

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