Hex Color #D72DAE - Custom Color

Color Codes

HEX
#D72DAE
RGB
rgb(215, 45, 174)
HSL
hsl(314, 68%, 51%)
CMYK
cmyk(0%, 79%, 19%, 16%)
HSV
hsv(314, 79%, 84%)
Color Name
Custom Color

Color Variations

Color Harmonies

Accessibility

WCAG Contrast Ratios

Text on White Background

Sample Text

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

Text on Black Background

Sample Text

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

Tailwind CSS (with arbitrary values)

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