Hex Color #D270BB - Custom Color

Color Codes

HEX
#D270BB
RGB
rgb(210, 112, 187)
HSL
hsl(314, 52%, 63%)
CMYK
cmyk(0%, 47%, 11%, 18%)
HSV
hsv(314, 47%, 82%)
Color Name
Custom Color

Color Variations

Color Harmonies

Accessibility

WCAG Contrast Ratios

Text on White Background

Sample Text

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

Text on Black Background

Sample Text

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

Tailwind CSS (with arbitrary values)

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