Hex Color #D45B8F - Custom Color

Color Codes

HEX
#D45B8F
RGB
rgb(212, 91, 143)
HSL
hsl(334, 58%, 59%)
CMYK
cmyk(0%, 57%, 33%, 17%)
HSV
hsv(334, 57%, 83%)
Color Name
Custom Color

Color Variations

Color Harmonies

Accessibility

WCAG Contrast Ratios

Text on White Background

Sample Text

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

Text on Black Background

Sample Text

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

Tailwind CSS (with arbitrary values)

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