Hex Color #D507BF - Custom Color

Color Codes

HEX
#D507BF
RGB
rgb(213, 7, 191)
HSL
hsl(306, 94%, 43%)
CMYK
cmyk(0%, 97%, 10%, 16%)
HSV
hsv(306, 97%, 84%)
Color Name
Custom Color

Color Variations

Color Harmonies

Accessibility

WCAG Contrast Ratios

Text on White Background

Sample Text

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

Text on Black Background

Sample Text

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

Tailwind CSS (with arbitrary values)

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