Hex Color #D02CA1 - Custom Color

Color Codes

HEX
#D02CA1
RGB
rgb(208, 44, 161)
HSL
hsl(317, 65%, 49%)
CMYK
cmyk(0%, 79%, 23%, 18%)
HSV
hsv(317, 79%, 82%)
Color Name
Custom Color

Color Variations

Color Harmonies

Accessibility

WCAG Contrast Ratios

Text on White Background

Sample Text

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

Text on Black Background

Sample Text

Contrast Ratio: 4.56:1
Pass - 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: #D02CA1;
color: #D02CA1;
border-color: #D02CA1;
}

Tailwind CSS (with arbitrary values)

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