Hex Color #D970BA - Custom Color

Color Codes

HEX
#D970BA
RGB
rgb(217, 112, 186)
HSL
hsl(318, 58%, 65%)
CMYK
cmyk(0%, 48%, 14%, 15%)
HSV
hsv(318, 48%, 85%)
Color Name
Custom Color

Color Variations

Color Harmonies

Accessibility

WCAG Contrast Ratios

Text on White Background

Sample Text

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

Text on Black Background

Sample Text

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

Tailwind CSS (with arbitrary values)

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